increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->string('url', 255)->nullable(); $table->integer('order')->nullable(); $table->text('image')->nullable(); $table->enum('status', ['Show','Hide'])->nullable(); $table->tinyInteger('home_page')->nullable(); $table->tinyInteger('inner_page')->nullable(); $table->tinyInteger('left')->nullable(); $table->tinyInteger('right')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('advertisements'); } }