Fix missing down migrations

This commit is contained in:
James Brooks
2016-12-04 16:16:22 +00:00
parent 72ff181a02
commit b5916b7577
3 changed files with 7 additions and 3 deletions

View File

@@ -30,6 +30,8 @@ class AlterTableComponentsDropUserIdColumn extends Migration
*/ */
public function down() public function down()
{ {
// Schema::table('components', function (Blueprint $table) {
$table->integer('user_id')->unsigned()->after('group_id');
});
} }
} }

View File

@@ -30,6 +30,8 @@ class AlterTableIncidentsDropUserIdColumn extends Migration
*/ */
public function down() public function down()
{ {
// Schema::table('incidents', function (Blueprint $table) {
$table->integer('user_id')->unsigned()->after('message');
});
} }
} }

View File

@@ -35,7 +35,7 @@ class AlterTableMetricsAddDefaultViewColumn extends Migration
public function down() public function down()
{ {
Schema::table('metrics', function (Blueprint $table) { Schema::table('metrics', function (Blueprint $table) {
// $table->dropColumn('default_view');
}); });
} }
} }