Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow long texts in localizations

  • Loading branch information...
commit b80c32a1a68373146070d158928d668e83cac1b8 1 parent 7e8a38c
Alex Mekelburg authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 db/migrate/20140124174157_change_state_localizations_to_texts.rb
View
15 db/migrate/20140124174157_change_state_localizations_to_texts.rb
@@ -0,0 +1,15 @@
+class ChangeStateLocalizationsToTexts < ActiveRecord::Migration
+ def up
+ change_column :state_localizations, :parties, :string, :limit => 1024
+ change_column :state_localizations, :sub_18, :string, :limit => 1024
+ change_column :state_localizations, :registration_deadline, :string, :limit => 1024
+ change_column :state_localizations, :pdf_instructions, :string, :limit => 1024
+ change_column :state_localizations, :email_instructions, :string, :limit => 1024
+ end
+
+ def down
+ change_column :state_localizations, :registration_deadline, :string
+ change_column :state_localizations, :pdf_instructions, :string
+ change_column :state_localizations, :email_instructions, :string
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.