increments('id'); $table->integer('grade_id'); // base grade id $table->integer('rule_id'); // rule id $table->mediumText('modifications'); // json string containing all changes made to the rules $table->timestamps(); $table->integer('updated_by'); // user id of the user updating the rule }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('approval_rule_log'); } }