OwlCyberSecurity - MANAGER
Edit File: 2018_10_25_202222_create_sponsors_table.php
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSponsorsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('sponsors', function (Blueprint $table) { $table->increments('id'); $table->string('sponsorName'); $table->string('sponsorUrl')->nullable(); $table->text('description')->nullable(); $table->integer('publishStatus')->default('0'); $table->integer('other')->default('0'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('sponsors'); } }