Class: RemoveOauthClientIdFromEnterpriseAccounts
- Inherits:
-
Object
- Object
- RemoveOauthClientIdFromEnterpriseAccounts
- Defined in:
- lib/osso/db/migrate/20201110190754_remove_oauth_client_id_from_enterprise_accounts.rb
Instance Method Summary collapse
Instance Method Details
#down ⇒ Object
6 7 8 |
# File 'lib/osso/db/migrate/20201110190754_remove_oauth_client_id_from_enterprise_accounts.rb', line 6 def down add_reference :enterprise_accounts, :oauth_client, type: :uuid, index: true end |
#up ⇒ Object
2 3 4 |
# File 'lib/osso/db/migrate/20201110190754_remove_oauth_client_id_from_enterprise_accounts.rb', line 2 def up remove_reference :enterprise_accounts, :oauth_client, index: true end |