cron lelong

This commit is contained in:
Afiq
2023-01-10 11:58:00 +08:00
parent 05f85e7e4a
commit 0f21b09fee
3 changed files with 762 additions and 563 deletions
@@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\Hash;
use Carbon\Carbon;
class SeedSystemUser extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::table('users')->insert([
'name' => 'System',
'username' => 'system',
'email' => 'info@adminlelong.arrahn',
'password' => Hash::make('password'),
'nokp' => '9090909090009',
'status' => 'active',
't_daftar' => Carbon::now(),
'user_type' => 1
]);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}