api-key-mgmt-v2/migrations/1689828848-TD-651-add-pending-status.sql
ndiezel0 6e02444fbd
TD-651: Implement RevokeApiKey (#8)
* 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>
2023-07-21 14:40:50 +03:00

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;