spec/support/db.rb in store_schema-0.1.0 vs spec/support/db.rb in store_schema-1.0.0
- old
+ new
@@ -1,16 +1,14 @@
ActiveRecord::Base.establish_connection(
adapter: "sqlite3", database: ":memory:"
)
-class Schema < ActiveRecord::Migration
+class Schema < ActiveRecord::Migration[4.2]
def change
create_table :websites do |t|
t.text :config
end
end
end
-silence_stream(STDOUT) do
- Schema.new.change
-end
+Schema.new.change