spec/support/migrations.rb in active_metadata-0.8.5 vs spec/support/migrations.rb in active_metadata-0.8.5.1
- old
+ new
@@ -1,7 +1,10 @@
+require 'rake'
+
module TestDb
def self.up
+
ActiveRecord::Base.connection.create_table :documents, force: true do |t|
t.string :name
t.string :surname
t.boolean :keep_alive
t.datetime :date