admin init command
This commit is contained in:
1 parent
0f05bc2391
commit
a48088581f
25 files changed
+376
-34
No files matched your search
+2
@@ -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