diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-03-01 16:48:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 16:48:58 +0100 |
commit | 50ea54b3ed125477656893a67d9f552bb53e8ba5 (patch) | |
tree | 2de909d2659dc46e90de9b60f0b6b660e074b0c2 /db/migrate | |
parent | 233f7e6174947c28ee2d388713c0a58ca9ebb21e (diff) |
Change authorized applications page (#17656)
* Change authorized applications page * Hide revoke button for superapps and suspended accounts * Clean up db/schema.rb
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20220227041951_add_last_used_at_to_oauth_access_tokens.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20220227041951_add_last_used_at_to_oauth_access_tokens.rb b/db/migrate/20220227041951_add_last_used_at_to_oauth_access_tokens.rb new file mode 100644 index 000000000..6b46e60a8 --- /dev/null +++ b/db/migrate/20220227041951_add_last_used_at_to_oauth_access_tokens.rb @@ -0,0 +1,6 @@ +class AddLastUsedAtToOauthAccessTokens < ActiveRecord::Migration[6.1] + def change + add_column :oauth_access_tokens, :last_used_at, :datetime + add_column :oauth_access_tokens, :last_used_ip, :inet + end +end |