lib/active_dynamic/migration.rb in active_dynamic-0.3.0 vs lib/active_dynamic/migration.rb in active_dynamic-0.4.0
- old
+ new
@@ -3,9 +3,10 @@
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, null: false
t.text :value
t.integer :datatype, null: false
t.timestamps