Sha256: 05c25af39c3c8d7accd56fc3a3a5d299e4806c3d151ae8303671b7fb1faa1a50
Contents?: true
Size: 469 Bytes
Versions: 5
Compression:
Stored size: 469 Bytes
Contents
require "active_record" ActiveRecord::Base.establish_connection( :adapter => "sqlite3", :database => ":memory:", ) # create tables ActiveRecord::Schema.define(:version => 1) do create_table :users do |t| t.string :name end create_table :posts do |t| t.string :title end create_table :movies do |t| t.string :title end create_table :products do |t| t.string :title end create_table :groups do |t| t.string :name end end
Version data entries
5 entries across 5 versions & 1 rubygems