Sha256: d4612f09b463a6bea7d15080cd0c77a7a3d88264244fba8af68fc6a99de77be5
Contents?: true
Size: 449 Bytes
Versions: 48
Compression:
Stored size: 449 Bytes
Contents
require 'active_record' ActiveRecord::Base.establish_connection( :adapter => "sqlite3", :database => "spec/test.db" ) ActiveRecord::Base.connection.tables.each do |table| ActiveRecord::Base.connection.drop_table(table) end ActiveRecord::Schema.define(:version => 1) do create_table :users do |t| t.string :guid t.string :first_name t.string :last_name t.string :email t.integer :account_id t.timestamps end end
Version data entries
48 entries across 48 versions & 1 rubygems