mirror of
https://github.com/coder/coder.git
synced 2026-06-03 04:58:23 +00:00
990c006f28
Add a nullable `value_key_id` column to the `user_secrets` table with a foreign key to `dbcrypt_keys`. This is the column dbcrypt uses to track which encryption key encrypted a given secret's value. This is required for encryption of user secret values. The column was missing from the original migration (000357).
4 lines
107 B
SQL
4 lines
107 B
SQL
ALTER TABLE user_secrets
|
|
DROP CONSTRAINT user_secrets_value_key_id_fkey,
|
|
DROP COLUMN value_key_id;
|