Skip to content

Commit 65e2241

Browse files
committed
Reintroduce text: true, but add rubocop annotations
1 parent cde1976 commit 65e2241

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

db/migrations/20241105000000_add_options_to_route.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
Sequel.migration do
22
up do
33
alter_table(:routes) do
4-
add_column :options, String, size: 255, default: nil
4+
# rubocop:disable Migration/IncludeStringSize
5+
add_column :options, String, text: true, default: nil
6+
# rubocop:enable Migration/IncludeStringSize
57
end
68
end
79
down do

0 commit comments

Comments
 (0)