Skip to content

Commit

Permalink
fix column type
Browse files Browse the repository at this point in the history
  • Loading branch information
jdshaw committed Dec 12, 2024
1 parent 94c3504 commit a739a2f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions migrations/003_change_content_warnings_description_field_type.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
require 'db/migrations/utils'

Sequel.migration do

up do
$stderr.puts("Changing Content Warning description field from MediumBlob to Text")

alter_table(:content_warning) do
set_column_type(:description, 'text')
end

end

end

0 comments on commit a739a2f

Please sign in to comment.