<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; class CreateEformTestTestsTable extends Migration { /* * Run the migrations. * * @return void */ public function up() { /* * Table: eform_test_tests */ Schema::create('eform_test_tests', function ($table) { $table->increments('id'); $table->string('name', 50)->nullable(); $table->string('slug', 60)->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('eform_test_tests'); } }