create('post', function (Blueprint $table) { $table->increments('id'); $table->string('post', 255)->nullable(false); $table->integer('user_id'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public static function down(): void { Manager::schema()->dropIfExists('user'); } }