Sha256: b2c2b1decd70162c1e944482aaee6871c0c6619e1ed1c9190ee1cff462516fc6
Contents?: true
Size: 557 Bytes
Versions: 1
Compression:
Stored size: 557 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 :cast_as t.string :configurable_type t.integer :configurable_id t.string :context end create_table :users, :force => true do |t| end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cockpit-0.0.1.7 | test/lib/database.rb |