mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
matrix_group
This commit is contained in:
@@ -87,6 +87,9 @@ class Meetup extends Resource
|
|||||||
Text::make(__('Website'), 'webpage')
|
Text::make(__('Website'), 'webpage')
|
||||||
->rules('url', 'nullable')->hideFromIndex(),
|
->rules('url', 'nullable')->hideFromIndex(),
|
||||||
|
|
||||||
|
Text::make(__('Matrix Group'), 'matrix_group')
|
||||||
|
->rules('url', 'nullable')->hideFromIndex(),
|
||||||
|
|
||||||
Text::make(__('Twitter Username'), 'twitter_username')
|
Text::make(__('Twitter Username'), 'twitter_username')
|
||||||
->help(__('Without @'))
|
->help(__('Without @'))
|
||||||
->rules('string', 'nullable')->hideFromIndex(),
|
->rules('string', 'nullable')->hideFromIndex(),
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration {
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::table('meetups', function (Blueprint $table) {
|
||||||
|
$table->string('matrix_group')
|
||||||
|
->nullable();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::table('meetups', function (Blueprint $table) {
|
||||||
|
//
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user