diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-07-28 17:47:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-28 17:47:37 +0200 |
commit | b9b0313c78ca4efcc8cda089c652be0b333aa16a (patch) | |
tree | 7f94dada733b514a2034839c3ca6fb6776487250 /db/post_migrate | |
parent | 75f7f9930eb2a6f5c4041ec44fe0aa795c9ec449 (diff) |
Revert "Remove conversation URI (#11423)" (#11424)
This reverts commit 75f7f9930eb2a6f5c4041ec44fe0aa795c9ec449.
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20190519130537_remove_boosts_widening_audience.rb | 2 | ||||
-rw-r--r-- | db/post_migrate/20190728084117_remove_uri_from_conversations.rb | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/db/post_migrate/20190519130537_remove_boosts_widening_audience.rb b/db/post_migrate/20190519130537_remove_boosts_widening_audience.rb index b89efd989..d2d924239 100644 --- a/db/post_migrate/20190519130537_remove_boosts_widening_audience.rb +++ b/db/post_migrate/20190519130537_remove_boosts_widening_audience.rb @@ -1,5 +1,3 @@ -# frozen_string_literal: true - class RemoveBoostsWideningAudience < ActiveRecord::Migration[5.2] disable_ddl_transaction! diff --git a/db/post_migrate/20190728084117_remove_uri_from_conversations.rb b/db/post_migrate/20190728084117_remove_uri_from_conversations.rb deleted file mode 100644 index b2b157ef7..000000000 --- a/db/post_migrate/20190728084117_remove_uri_from_conversations.rb +++ /dev/null @@ -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 |