update fix

This commit is contained in:
rimasazkya14 2026-05-05 15:11:40 +07:00
parent 41841a1444
commit 436fc60a3b
2 changed files with 1 additions and 26 deletions

View File

@ -1,25 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->string('profile_photo')->nullable()->after('address');
});
}
public function down()
{
Schema::table('users', function (Blueprint $table) {
$table->dropColumn('profile_photo');
});
}
};

View File

@ -20,7 +20,7 @@ public function run(): void
'address' => 'Jl. Admin No.1',
'rtrw' => '01/01',
'password' => Hash::make('password'),
'role' => 'Admin',
'role' => 'petugas',
'status' => 'approved',
]);