remove uniqueness constraint on postupdates

This commit is contained in:
r888888888
2016-08-22 16:09:20 -07:00
parent ccf95957f9
commit 0a65302f12
5 changed files with 15 additions and 12 deletions

View File

@@ -0,0 +1,8 @@
class RemoveUniquenessConstraintOnPostUpdates < ActiveRecord::Migration
def up
execute "alter table post_updates drop constraint unique_post_id"
end
def down
end
end