fix post crud

This commit is contained in:
2024-07-26 11:57:05 +03:00
parent 25e585655c
commit f5f546ba95
10 changed files with 42 additions and 38 deletions

View File

@ -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();
});
}