OwlCyberSecurity - MANAGER
Edit File: 2018_05_17_073625_create_systems_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSystemsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('systems', function (Blueprint $table) { $table->increments('id'); $table->string('name'); $table->string('username'); $table->string('email'); $table->string('password'); $table->string('operation_key'); $table->integer('accessLevel'); $table->string('category'); $table->string('dp')->nullable(); $table->boolean('status')->default('0'); $table->rememberToken(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('systems'); } }