fix post crud
This commit is contained in:
1 parent
25e585655c
commit
f5f546ba95
10 files changed
+42
-38
No files matched your search
@@ -18,8 +18,8 @@ class PostMigration extends Migration
|
||||
{
|
||||
Manager::schema()->create('post', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('post', 3000)->nullable(false);
|
||||
$table->string('username', 255)->nullable(false);
|
||||
$table->string('content', 3000)->nullable(false);
|
||||
$table->integer('user_id');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user