increments('id'); $table->integer('brand_id')->nullable(); $table->integer('category_id')->nullable(); $table->integer('objects')->nullable(); $table->string('headline', 255)->nullable(); $table->text('information')->nullable(); $table->date('expirydate')->nullable(); $table->enum('status', ['online','offline'])->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('infobjects'); } }