Sha256: 9c4e1dbe8dfb8333d63fb89d27c8a8d66ab3f4fb11234feacc2346a87b326eed

Contents?: true

Size: 222 Bytes

Versions: 7

Compression:

Stored size: 222 Bytes

Contents

class CreateUsersOnMultiplesGroups < ActiveRecord::Migration
  using_group('country_shards', 'history_shards')

  def self.up
    User.create!(:name => 'MultipleGroup')
  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/5_create_users_on_multiples_groups.rb
ar-octopus-0.8.6 spec/migrations/5_create_users_on_multiples_groups.rb
misha-ar-octopus-0.8.7 spec/migrations/5_create_users_on_multiples_groups.rb
misha-ar-octopus-0.8.5 spec/migrations/5_create_users_on_multiples_groups.rb
ar-octopus-0.8.5 spec/migrations/5_create_users_on_multiples_groups.rb
ar-octopus-0.8.4 spec/migrations/5_create_users_on_multiples_groups.rb
ar-octopus-0.8.3 spec/migrations/5_create_users_on_multiples_groups.rb