You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
451 B

  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