increments('id'); $table->integer('merchant_id'); $table->integer('user_id')->nullable(); $table->integer('grade_id')->nullable(); $table->integer('offer_id')->nullable(); $table->integer('merchant_module_id')->nullable(); $table->string('data')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('merchant_log'); } }