mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-25 15:24:14 +00:00
13 lines
451 B
Ruby
13 lines
451 B
Ruby
|
# 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
|