Sha256: 3ee1ff5223a60c6d08148385d471f9bc4c5216e65208863015569f36070fb583

Contents?: true

Size: 212 Bytes

Versions: 7

Compression:

Stored size: 212 Bytes

Contents

class RaiseExceptionWithInvalidMultipleShardNames < ActiveRecord::Migration
  using(:brazil, :invalid_shard)

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