lib/active_dynamic/migration.rb in active_dynamic-0.5.4 vs lib/active_dynamic/migration.rb in active_dynamic-0.5.5
- old
+ new
@@ -3,13 +3,13 @@
def change
create_table :active_dynamic_attributes do |t|
t.integer :customizable_id, null: false
t.string :customizable_type, limit: 50
- t.string :display_name, null: false
t.string :name
- t.text :value
+ t.string :display_name, null: false
t.integer :datatype
+ t.text :value
t.boolean :required, null: false, default: false
t.timestamps
end