mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
9 lines
222 B
MySQL
9 lines
222 B
MySQL
|
|
ALTER TABLE public.api_keys
|
||
|
|
ADD COLUMN IF NOT EXISTS total_tokens bigint DEFAULT '0'::bigint NOT NULL;
|
||
|
|
|
||
|
|
UPDATE public.provider_api_keys
|
||
|
|
SET
|
||
|
|
fingerprint = NULL,
|
||
|
|
updated_at = NOW()
|
||
|
|
WHERE fingerprint IS NOT NULL;
|