Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Remove message index #66

Merged
merged 1 commit into from

2 participants

@AdamFerguson
Owner

I confirmed the tests passed locally. Seems better to just outright remove the upgrade_migration than write a new one that undoes this change since people were seeing errors in MySQL when trying to run the existing migration.

@johnmcaliley johnmcaliley merged commit 27c9352 into charlotte-ruby:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 9 deletions.
  1. +0 −9 upgrade_migrations/version_1_1_2.rb
View
9 upgrade_migrations/version_1_1_2.rb
@@ -1,9 +0,0 @@
-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
Something went wrong with that request. Please try again.