20210507001928_remove_hub_url_from_accounts.rb 451 B

123456789101112
  1. # frozen_string_literal: true
  2. class RemoveHubURLFromAccounts < ActiveRecord::Migration[5.2]
  3. def change
  4. safety_assured do
  5. remove_column :accounts, :secret, :string, null: false, default: ''
  6. remove_column :accounts, :remote_url, :string, null: false, default: ''
  7. remove_column :accounts, :salmon_url, :string, null: false, default: ''
  8. remove_column :accounts, :hub_url, :string, null: false, default: ''
  9. end
  10. end
  11. end