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

Version Path
protobuf-activerecord-3.4.3 spec/support/db/setup.rb
protobuf-activerecord-3.4.2 spec/support/db/setup.rb
protobuf-activerecord-3.4.1 spec/support/db/setup.rb
protobuf-activerecord-3.4.0 spec/support/db/setup.rb
protobuf-activerecord-3.3.8 spec/support/db/setup.rb
protobuf-activerecord-3.3.7 spec/support/db/setup.rb
protobuf-activerecord-3.3.6 spec/support/db/setup.rb
protobuf-activerecord-3.3.5 spec/support/db/setup.rb
protobuf-activerecord-3.3.4 spec/support/db/setup.rb
protobuf-activerecord-3.3.3 spec/support/db/setup.rb
protobuf-activerecord-3.3.2 spec/support/db/setup.rb
protobuf-activerecord-3.3.1 spec/support/db/setup.rb
protobuf-activerecord-3.3.0 spec/support/db/setup.rb
protobuf-activerecord-3.2.2 spec/support/db/setup.rb
protobuf-activerecord-3.2.1 spec/support/db/setup.rb
protobuf-activerecord-3.2.0 spec/support/db/setup.rb
protobuf-activerecord-3.1.1 spec/support/db/setup.rb
protobuf-activerecord-3.1.0 spec/support/db/setup.rb
protobuf-activerecord-3.1.0.rc1 spec/support/db/setup.rb
protobuf-activerecord-3.1.0.alpha2 spec/support/db/setup.rb