spec/support/schema.rb in similar_models-0.1.0 vs spec/support/schema.rb in similar_models-0.2.0
- old
+ new
@@ -9,10 +9,10 @@
t.integer :author_id, null: false
t.integer :post_id, null: false
t.timestamps null: false
end
- create_table :posts, force: true do |t|
+ create_table :posts, primary_key: :alt_id, force: true do |t|
t.timestamps null: false
end
create_table :posts_tags, force: true do |t|
t.integer :post_id, null: false