|
|
|
@ -14,7 +14,6 @@ return new class extends Migration
|
|
|
|
Schema::create('posts', function (Blueprint $table) {
|
|
|
|
Schema::create('posts', function (Blueprint $table) {
|
|
|
|
$table->id('sequence');
|
|
|
|
$table->id('sequence');
|
|
|
|
$table->uuid('id');
|
|
|
|
$table->uuid('id');
|
|
|
|
$table->string('title');
|
|
|
|
|
|
|
|
$table->foreignUuid('user_id')->constrained(table: 'users', column: 'id');
|
|
|
|
$table->foreignUuid('user_id')->constrained(table: 'users', column: 'id');
|
|
|
|
$table->longText('description')->nullable(true);
|
|
|
|
$table->longText('description')->nullable(true);
|
|
|
|
$table->timestamps();
|
|
|
|
$table->timestamps();
|
|
|
|
|