2021-04-06 10:52:08 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Backend\Models\AdminUser;
|
|
|
|
|
|
|
|
require_once ('Database/databaseMigration.php');
|
|
|
|
AdminUser::firstOrCreate([
|
2021-04-08 11:06:52 +00:00
|
|
|
'user_name' => 'admin', 'password' => password_hash('admin123',PASSWORD_DEFAULT)
|
|
|
|
]);
|