itskp-odense/Backend/migrations/user_migration.php

14 lines
343 B
PHP
Raw Normal View History

<?php
require "../../bootstrap.php";
use Illuminate\Database\Capsule\Manager as Capsule;
Capsule::schema()->create('users', function ($table) {
$table->increments('id');
$table->string('name');
$table->integer('permission');
$table->longtext('password');
$table->longtext('remember_token');
$table->timestamps();
});