/20160318145525_convert_text_to_medium_in_post_and_page_translations.rb
Created Mar 18, 2016
text to medium Rails migration
class ConvertTextToMediumInPostAndPageTranslations < ActiveRecord::Migration | |
def up | |
change_column :post_translations, :text, :text, :limit => 64.kilobytes + 1 | |
change_column :page_translations, :text, :text, :limit => 64.kilobytes + 1 | |
end | |
def down | |
change_column :post_translations, :text, :text | |
change_column :page_translations, :text, :text | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment