mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
9 lines
194 B
PL/PgSQL
9 lines
194 B
PL/PgSQL
BEGIN;
|
|
|
|
DROP INDEX IF EXISTS workspace_proxies_lower_name_idx;
|
|
|
|
-- Enforces no active proxies have the same name.
|
|
CREATE UNIQUE INDEX ON workspace_proxies (name) WHERE deleted = FALSE;
|
|
|
|
COMMIT;
|