Fix rollback of AlterTableIncidentsRemoveScheduledColumns

This commit is contained in:
James Brooks
2016-12-04 16:14:48 +00:00
parent dab4b43824
commit 72ff181a02

View File

@@ -44,7 +44,7 @@ class AlterTableIncidentsRemoveScheduledColumns extends Migration
public function down()
{
Schema::table('incidents', function (Blueprint $table) {
$table->timestamp('scheduled_at')->after('user_id')->nullable()->default(null);
$table->timestamp('scheduled_at')->before('created_at')->nullable()->default(null);
});
}
}