Sha256: bcde07cb3785f009f5ce6a0eca81c3d422a59b073df9debddb495d73d8776cf7

Contents?: true

Size: 206 Bytes

Versions: 7

Compression:

Stored size: 206 Bytes

Contents

class CreateUsersOnShardsOfAGroupWithVersions < ActiveRecord::Migration
  using_group(:country_shards)

  def self.up
    User.create!(:name => 'Group')
  end

  def self.down
    User.delete_all
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ar-octopus-0.9.0 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.8.6 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
misha-ar-octopus-0.8.7 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
misha-ar-octopus-0.8.5 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.8.5 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.8.4 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.8.3 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb