diff --git a/migrations/003_change_content_warnings_description_field_type.rb b/migrations/003_change_content_warnings_description_field_type.rb new file mode 100644 index 0000000..40257b1 --- /dev/null +++ b/migrations/003_change_content_warnings_description_field_type.rb @@ -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