increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 30)->nullable(); $table->string('slug', 255)->nullable(); $table->string('title', 255)->nullable(); $table->string('url', 255)->nullable(); $table->text('details')->nullable(); $table->text('image')->nullable(); $table->enum('region', ['home-top','home-right','list-right','inner-right'])->nullable(); $table->integer('order')->nullable(); $table->string('size', 255)->nullable(); $table->string('upload_folder', 255)->nullable(); $table->enum('status', ['Show','Hide'])->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('advertisements'); } }