Game-Jaming/Backend/test.php

9 lines
203 B
PHP

<?php
use Backend\Models\AdminUser;
require_once ('Database/databaseMigration.php');
AdminUser::firstOrCreate([
'user_name' => 'admin', 'password' => password_hash('admin123',PASSWORD_DEFAULT)
]);