increments('id'); $table->integer('grade_id'); // base grade id $table->integer('status')->default(0); // 0 inactive; 1 active rule $table->json('modifications')->nullable(); $table->timestamps(); $table->integer('updated_by'); // user id of the user updating the rule }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('auto_reject_rule'); } }