mirror of
https://github.com/valitydev/api-key-mgmt-v2.git
synced 2024-11-06 10:25:21 +00:00
6e02444fbd
* TD-651: Implement RevokeApiKey * Fix specs and checks * Format * Fix tests * Add revoke * Fix lint * Add test * TD-651: fix formatting * TD-651: fix dialyzer checks * TD-651: fix style * TD-651: fix build * TD-651: fix typo * TD-651: fix formatting * TD-651: implement revoke tokens * TD-651: add party_id checking to sql query * TD-651:fix sql migrations --------- Co-authored-by: anatoliy.losev <losto@nix>
8 lines
215 B
SQL
8 lines
215 B
SQL
-- migrations/1689828848-TD-651-add-pending-status.sql
|
|
-- :up
|
|
-- Up migration
|
|
ALTER TABLE apikeys ADD COLUMN pending_status apikeys_status;
|
|
|
|
-- :down
|
|
-- Down migration
|
|
ALTER TABLE apikeys DROP COLUMN pending_status; |