Move migration to avoid conflict

This commit is contained in:
Raphael Sofaer 2011-02-11 12:52:19 -08:00
parent ff0f37ceea
commit 88da878c97
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
class UniquePostVisibilities < ActiveRecord::Migration
class UniqueIndexPostVisibilities < ActiveRecord::Migration
def self.up
remove_index :post_visibilities, [:aspect_id, :post_id]
add_index :post_visibilities, [:aspect_id, :post_id], :unique => true

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20110211021926) do
ActiveRecord::Schema.define(:version => 20110211204804) do
create_table "aspect_memberships", :force => true do |t|
t.integer "aspect_id", :null => false