Skip to content

Commit a739a2f

Browse files
committed
fix column type
1 parent 94c3504 commit a739a2f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
require 'db/migrations/utils'
2+
3+
Sequel.migration do
4+
5+
up do
6+
$stderr.puts("Changing Content Warning description field from MediumBlob to Text")
7+
8+
alter_table(:content_warning) do
9+
set_column_type(:description, 'text')
10+
end
11+
12+
end
13+
14+
end

0 commit comments

Comments
 (0)