Sha256: 67262d35f1b78a175a6f45a8f6bcd053f7b5edf281ea591f6f1a0ae1dd27d0b2

Contents?: true

Size: 208 Bytes

Versions: 7

Compression:

Stored size: 208 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 & 1 rubygems

Version Path
ar-octopus-0.8.2 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.8.1 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.8.0 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.7.0 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.6.1 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.6.0 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb
ar-octopus-0.5.0 spec/migrations/14_create_users_on_shards_of_a_group_with_versions.rb