Skip to content

Commit d6becf3

Browse files
committed
Set default value: nil
1 parent 91805b4 commit d6becf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/migrations/20241105000000_add_options_to_route.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Sequel.migration do
22
up do
33
alter_table(:routes) do
4-
add_column :options, String, text: true
4+
add_column :options, String, text: true, default: nil
55
end
66
end
77
down do

0 commit comments

Comments
 (0)