spec/support/schema.rb in trans_forms-0.1.0 vs spec/support/schema.rb in trans_forms-0.2.0

- old
+ new

@@ -4,20 +4,20 @@ adapter: 'sqlite3', database: ':memory:' }) # prepare test data -class CreateTestSchema < ActiveRecord::Migration - def change - create_table "users", :force => true do |t| - t.string "name" - t.integer "age" - end +ActiveRecord::Schema.define do + self.verbose = false - create_table "phone_numbers", :force => true do |t| - t.integer "user_id" - t.string "number" - end + create_table "users", :force => true do |t| + t.string "name" + t.integer "age" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false end -end -CreateTestSchema.migrate(:up) + create_table "phone_numbers", :force => true do |t| + t.integer "user_id" + t.string "number" + end +end