itskp-odense/Backend/migrations/seedUser.php

6 lines
168 B
PHP

<?php
require "../../bootstrap.php";
$createUser = User::Create(['name' => "Victor", 'password' => password_hash('1234', PASSWORD_DEFAULT)]);
echo "User was created";