Sha256: 1173d9c7b7bad3ed1b186e88f6e6e8e388451b130028da0536a32d817830ad22

Contents?: true

Size: 229 Bytes

Versions: 19

Compression:

Stored size: 229 Bytes

Contents

def data_mapper_load_schema
  require 'dm-migrations'

  DataMapper.auto_migrate!
end

class ::DmUser
  include DataMapper::Resource

  self.storage_names[:default] = 'users'

  property :id, Serial
  property :name, String

end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
database_cleaner-1.6.2 spec/support/data_mapper/schema_setup.rb
database_cleaner-1.6.1 spec/support/data_mapper/schema_setup.rb
database_cleaner-1.6.0 spec/support/data_mapper/schema_setup.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/data_mapper/schema_setup.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/data_mapper/schema_setup.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/data_mapper/schema_setup.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/data_mapper/schema_setup.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/data_mapper/schema_setup.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/data_mapper/schema_setup.rb
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/database_cleaner-1.5.3/spec/support/data_mapper/schema_setup.rb
database_cleaner-1.5.3 spec/support/data_mapper/schema_setup.rb
database_cleaner-1.5.2 spec/support/data_mapper/schema_setup.rb
database_cleaner-1.5.1 spec/support/data_mapper/schema_setup.rb
database_cleaner-1.5.0 spec/support/data_mapper/schema_setup.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/database_cleaner-1.4.1/spec/support/data_mapper/schema_setup.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/database_cleaner-1.4.1/spec/support/data_mapper/schema_setup.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/database_cleaner-1.4.1/spec/support/data_mapper/schema_setup.rb
database_cleaner-1.4.1 spec/support/data_mapper/schema_setup.rb
database_cleaner-1.4.0 spec/support/data_mapper/schema_setup.rb