lib/generators/templates/migration.rb.erb in acts_as_belongable-1.0.0 vs lib/generators/templates/migration.rb.erb in acts_as_belongable-1.1.0
- old
+ new
@@ -3,9 +3,10 @@
create_table :belongings do |t|
t.references :belonger, polymorphic: true, index: true
t.references :belonging, polymorphic: true, index: true
+ t.string :scope
t.integer :position
t.timestamps null: false
end