Sha256: cc9a451ed2ad577f3dfad61499ae8bc50272633be209e58e2df7df000c27de8b

Contents?: true

Size: 195 Bytes

Versions: 10

Compression:

Stored size: 195 Bytes

Contents

class RaiseExceptionWithInvalidShardName < ActiveRecord::Migration
  using(:amazing_shard)

  def self.up
    User.create!(:name => "Error")
  end

  def self.down
    User.delete_all()
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
ar-octopus-0.8.2 spec/migrations/6_raise_exception_with_invalid_shard_name.rb
ar-octopus-0.8.1 spec/migrations/6_raise_exception_with_invalid_shard_name.rb
ar-octopus-0.8.0 spec/migrations/6_raise_exception_with_invalid_shard_name.rb
ar-octopus-0.7.0 spec/migrations/6_raise_exception_with_invalid_shard_name.rb
ar-octopus-0.6.1 spec/migrations/6_raise_exception_with_invalid_shard_name.rb
ar-octopus-0.6.0 spec/migrations/6_raise_exception_with_invalid_shard_name.rb
ar-octopus-0.5.0 spec/migrations/6_raise_exception_with_invalid_shard_name.rb
xbar-0.4.2 spec/migrations/6_raise_exception_with_invalid_shard_name.rb
xbar-0.4.1 spec/migrations/6_raise_exception_with_invalid_shard_name.rb
xbar-0.4.0 spec/migrations/6_raise_exception_with_invalid_shard_name.rb