Remove PubSubHubbub-related columns from accounts table (#16170)

This commit is contained in:
Eugen Rochko
2021-05-07 19:32:58 +02:00
committed by GitHub
parent d8e0c8a89e
commit 1294f9ee4f
15 changed files with 24 additions and 208 deletions

View File

@ -0,0 +1,12 @@
# frozen_string_literal: true
class RemoveHubURLFromAccounts < ActiveRecord::Migration[5.2]
def change
safety_assured do
remove_column :accounts, :secret, :string, null: false, default: ''
remove_column :accounts, :remote_url, :string, null: false, default: ''
remove_column :accounts, :salmon_url, :string, null: false, default: ''
remove_column :accounts, :hub_url, :string, null: false, default: ''
end
end
end