update fix
This commit is contained in:
parent
41841a1444
commit
436fc60a3b
|
|
@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
@ -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',
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue