Revert "Remove conversation URI (#11423)" (#11424)

This reverts commit 75f7f9930e.
This commit is contained in:
Eugen Rochko 2019-07-28 17:47:37 +02:00 committed by GitHub
parent 75f7f9930e
commit b9b0313c78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 42 additions and 17 deletions

View file

@ -1,5 +1,3 @@
# frozen_string_literal: true
class RemoveBoostsWideningAudience < ActiveRecord::Migration[5.2]
disable_ddl_transaction!

View file

@ -1,12 +0,0 @@
# frozen_string_literal: true
class RemoveUriFromConversations < ActiveRecord::Migration[5.2]
def up
safety_assured { remove_column :conversations, :uri, :string }
end
def down
add_column :conversations, :uri, :string
add_index :conversations, :uri, unique: true
end
end