Fix missing down migrations
This commit is contained in:
@@ -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');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user