Sha256: 7c857a51046541a470ad2b9548b2e42fa96faf2fd27f1bb39ec66c23a6a501f0

Contents?: true

Size: 197 Bytes

Versions: 41

Compression:

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

41 entries across 41 versions & 1 rubygems

Version Path
ar-octopus-0.0.1 spec/migrations/6_raise_exception_with_invalid_shard_name.rb