Merge remote-tracking branch 'tootsuite/master'

This commit is contained in:
David Yip
2017-11-19 01:30:29 -06:00
38 changed files with 852 additions and 42 deletions

View File

@ -0,0 +1,6 @@
class AddMovedToAccountIdToAccounts < ActiveRecord::Migration[5.1]
def change
add_column :accounts, :moved_to_account_id, :bigint, null: true, default: nil
add_foreign_key :accounts, :accounts, column: :moved_to_account_id, on_delete: :nullify
end
end