spec/schema.rb in dependent_restrict-0.2.0 vs spec/schema.rb in dependent_restrict-0.2.1
- old
+ new
@@ -9,7 +9,14 @@
create_table :orders do |t|
t.integer :category_id
t.boolean :active
end
+
+ create_table :product do |t|
+ end
+
+ create_table :products_categories do |t|
+ t.integer :product_id, :category_id
+ end
end