Sha256: 89c4b176b89cb727e871b4969992261e96c0744065943cd962d23680a437dbf8

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

class MakeOwnerIndexOnGringottsVaultsPolymorphic < ActiveRecord::Migration
  def change
    add_index "gringotts_vaults", ["owner_id", "owner_type"], name: "index_gringotts_vaults_on_owner_id_and_owner_type", unique: true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gringotts-0.6.7 db/migrate/20131110120149_make_owner_index_on_gringotts_vaults_polymorphic.rb
gringotts-0.6.5 db/migrate/20131110120149_make_owner_index_on_gringotts_vaults_polymorphic.rb