increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 255)->nullable(); $table->integer('advertisement_id')->nullable(); $table->text('slug')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('favorites'); } }