Sha256: 4884e6ce825b9770d5a7cd5552aebdcfb33557a1c657b7dedc9a3d5c2bb4e7fe

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

class Version04UpdateImpressionsTable < ActiveRecord::Migration
  def self.up
    add_index :impressions, [:impressionable_type, :message, :impressionable_id], :name => "impressionable_type_message_index", :unique => false
  end

  def self.down
    remove_index :impressions, :impressionable_type_message_index
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
impressionist-1.2.0 upgrade_migrations/version_1_1_2.rb