Game-Jaming/Backend/Database/AdminUser.php

14 lines
392 B
PHP
Raw Normal View History

2021-03-08 12:01:01 +00:00
<?php
2021-04-19 07:15:15 +00:00
require_once realpath(dirname(__FILE__) . "/../../bootstrap.php");
2021-03-08 12:01:01 +00:00
use Illuminate\Database\Capsule\Manager as Capsule;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
2021-04-19 07:15:15 +00:00
Capsule::schema()->create("admin_users", function (Blueprint $table) {
2021-03-08 12:01:01 +00:00
$table->id();
$table->string("user_name");
$table->string("password");
$table->timestamps();
});