fix(coderd/database): revert addition of v prefix to provisioner_daemons.api_version (#11403)

"Reverts" #11385 by adding an inverse migration.
This commit is contained in:
Cian Johnston
2024-01-04 11:47:31 +00:00
committed by GitHub
parent f9ebe8c719
commit 4355894b2b
4 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -537,7 +537,7 @@ CREATE TABLE provisioner_daemons (
tags jsonb DEFAULT '{}'::jsonb NOT NULL,
last_seen_at timestamp with time zone,
version text DEFAULT ''::text NOT NULL,
api_version text DEFAULT 'v1.0'::text NOT NULL
api_version text DEFAULT '1.0'::text NOT NULL
);
COMMENT ON COLUMN provisioner_daemons.api_version IS 'The API version of the provisioner daemon';