spec/support/migrations.rb in active_metadata-0.8.1 vs spec/support/migrations.rb in active_metadata-0.8.2
- old
+ new
@@ -16,9 +16,15 @@
t.integer :document_id
t.integer :chapter_id
t.timestamps
end
+ ActiveRecord::Base.connection.create_table :authors, force: true do |t|
+ t.string :name
+ t.integer :document_id
+ t.timestamps
+ end
+
ActiveRecord::Base.connection.create_table :chapters, force: true do |t|
t.string :title
t.timestamps
end