admin init command
This commit is contained in:
@ -13,6 +13,8 @@ return new class extends Migration
|
||||
{
|
||||
\kernel\App::$db->schema->create('post', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('title', 255)->nullable(false);
|
||||
$table->string('slug', 255)->unique();
|
||||
$table->text('content')->nullable(false);
|
||||
$table->integer('user_id');
|
||||
$table->timestamps();
|
Reference in New Issue
Block a user