Sha256: f275d5a4937ad186c54b2ad37b00ce3934df057490c99f601dc28add9c490f60
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
begin ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memory:") rescue ArgumentError ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => ":memory:") end ActiveRecord::Base.configurations = true ActiveRecord::Schema.define(:version => 1) do create_table :settings, :force => true do |t| t.string :key t.string :value t.string :context t.string :configurable_type t.integer :configurable_id end create_table :users, :force => true do |t| end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cockpit-0.1.1 | test/lib/database.rb |