Sha256: ffa8e4ca6ac56b6c61a5581ad8229d3bd5234d03b692a84b21e94cd38875932a
Contents?: true
Size: 346 Bytes
Versions: 2
Compression:
Stored size: 346 Bytes
Contents
require 'logger' ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') ActiveRecord::Schema.define do create_table :posts, force: true do |t| t.integer :status_id t.integer :some_other_status_id end create_table :users, force: true do |t| t.integer :role_id t.string :status_id end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enumerations-2.1.0 | test/helpers/database_helper.rb |
enumerations-2.0.0 | test/database_helper.rb |