Sha256: d64fc4f3e6ba60dc748590027686b3e5d50c7b1ffd7f282bf7040c3d2270c7dd

Contents?: true

Size: 194 Bytes

Versions: 7

Compression:

Stored size: 194 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

7 entries across 7 versions & 2 rubygems

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