Skip to content

Commit 431386b

Browse files
authored
Merge pull request #6 from madewithlove/remove-down-migration
Disallow rolling back the migration
2 parents 70aa05c + 15b2615 commit 431386b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

database/migrations/2019_11_21_000000_change_action_event_ids_to_strings.php

+1-6
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ public function up()
2828
*/
2929
public function down()
3030
{
31-
Schema::table('action_events', function (Blueprint $table) {
32-
$table->integer('actionable_id')->unsigned()->change();
33-
$table->integer('model_id')->unsigned()->change();
34-
$table->integer('target_id')->unsigned()->change();
35-
$table->integer('user_id')->unsigned()->change();
36-
});
31+
// this migration cannot be rolled back without losing data
3732
}
3833
}

0 commit comments

Comments
 (0)