post crud

This commit is contained in:
2024-07-25 16:15:18 +03:00
parent 653bf674c9
commit 25e585655c
16 changed files with 303 additions and 46 deletions

View File

@ -18,8 +18,8 @@ class PostMigration extends Migration
{
Manager::schema()->create('post', function (Blueprint $table) {
$table->increments('id');
$table->string('post', 255)->nullable(false);
$table->integer('user_id');
$table->string('post', 3000)->nullable(false);
$table->string('username', 255)->nullable(false);
$table->timestamps();
});
}