Sha256: f4432c95ea7f717f53b0a7467dec155c5af02613cb05a80e9685a97804fa5f63
Contents?: true
Size: 352 Bytes
Versions: 1
Compression:
Stored size: 352 Bytes
Contents
ActiveRecord::Base.establish_connection( adapter: "sqlite3", database: ":memory:" ) ActiveRecord::Base.connection.execute("DROP TABLE IF EXISTS 'users'") ActiveRecord::Base.connection.create_table(:users) do |t| t.string :first_name t.string :last_name t.integer :age t.string :address t.integer :salary, :default => 70000 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
natural_key-1.0.0 | spec/schema.rb |