id(); $table->string('name')->unique(); $table->timestamps(); }); $now = now(); DB::table('roles')->insert([ ['name' => 'user', 'created_at' => $now, 'updated_at' => $now], ['name' => 'admin', 'created_at' => $now, 'updated_at' => $now], ]); } public function down(): void { Schema::dropIfExists('roles'); } };