Skip to content

Commit d708605

Browse files
tmimura39rosa
authored andcommitted
Fixed broken rollback migratio in processes' name
This is a migration fix added by 76d2c0f. Since `up` is a change to NOT NULL, `down` must undo it.
1 parent 9992f76 commit d708605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/migrate/20240813160053_make_name_not_null.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ def up
1111

1212
def down
1313
remove_index :solid_queue_processes, [ :name, :supervisor_id ]
14-
change_column :solid_queue_processes, :name, :string, null: false
14+
change_column :solid_queue_processes, :name, :string, null: true
1515
end
1616
end

0 commit comments

Comments
 (0)