increments('id'); $table->string('slug', 255)->nullable(); $table->string('name', 255)->nullable(); $table->string('link', 255)->nullable(); $table->string('description', 255)->nullable(); $table->text('image')->nullable(); $table->enum('status', ['Yes', 'No'])->nullable(); $table->tinyInteger('home')->nullable(); $table->tinyInteger('inner')->nullable(); $table->tinyInteger('top')->nullable(); $table->tinyInteger('bottom')->nullable(); $table->tinyInteger('left')->nullable(); $table->tinyInteger('right')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 30)->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('crm_advertisement_advertisements'); } }