Sha256: 553aa62c5398a42edb5dfcd4129deedac59a6d2c96ee41034dd9c194406b1420
Contents?: true
Size: 743 Bytes
Versions: 2
Compression:
Stored size: 743 Bytes
Contents
require 'active_record' ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:" ActiveRecord::Migration.create_table :auctions do |t| t.string :name t.datetime :start_at t.datetime :close_at t.boolean :we_want_it t.integer :pet_id t.timestamps null: false end ActiveRecord::Migration.create_table :publishers do |t| t.string :name t.datetime :start_at t.datetime :close_at t.boolean :we_want_it t.integer :pet_id t.timestamps null: false end ActiveRecord::Migration.create_table :pets do |t| t.integer :awesomeness t.string :type t.timestamps null: false end ActiveRecord::Migration.create_table :arbitrary_models do |t| t.integer :awesomeness t.timestamps null: false end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reactor-2.0.1 | spec/support/active_record.rb |
reactor-2.0.0 | spec/support/active_record.rb |