Game-Jaming/Backend/test.php

9 lines
203 B
PHP
Raw Normal View History

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)
]);