add intro for meetups

This commit is contained in:
Benjamin Takats
2023-01-15 15:23:22 +01:00
parent 2a2004a20a
commit 9f0a28c17e
4 changed files with 46 additions and 10 deletions

View File

@@ -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->text('intro')
->nullable();
});
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
Schema::table('meetups', function (Blueprint $table) {
//
});
}
};