HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/stafa/stafa.nl/database/migrations/2016_08_04_000007_create_site_users_table.php
<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;

class CreateSiteUsersTable extends Migration
{

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('site_users', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('role')->unsigned()->nullable();
            $table->string('username');
            $table->string('password');
            $table->string('email');
            $table->string('telephone');
            $table->string('first_name')->nullable();
            $table->string('last_name')->nullable();
            $table->string('culture');
            $table->integer('gender');
            $table->timestamps();
            $table->rememberToken();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::disableForeignKeyConstraints();
        Schema::drop('site_users');
        Schema::enableForeignKeyConstraints();
    }

}