diff --git a/db/migrate/20120101000001_create_base.rb b/db/migrate/20120101000001_create_base.rb index 83e476ab9..40a3be604 100644 --- a/db/migrate/20120101000001_create_base.rb +++ b/db/migrate/20120101000001_create_base.rb @@ -95,7 +95,7 @@ class CreateBase < ActiveRecord::Migration create_table :roles do |t| t.string :name, limit: 100, null: false - t.string :preferences, limit: 500.kilobytes + 1, null: true + t.text :preferences, limit: 500.kilobytes + 1, null: true t.boolean :default_at_signup, null: true, default: false t.boolean :active, null: false, default: true t.string :note, limit: 250, null: true @@ -204,7 +204,7 @@ class CreateBase < ActiveRecord::Migration t.string :name, limit: 100, null: false t.string :action, limit: 40, null: false t.string :label, limit: 255, null: true - t.string :preferences, limit: 500.kilobytes + 1, null: true + t.text :preferences, limit: 500.kilobytes + 1, null: true t.timestamps null: false end add_index :tokens, :user_id