feat(coderd): add last_seen_at and version to provisioner_daemons table (#11033)

Related to #10676

- Adds columns last_seen_at and version to provisioner_daemons table
- Adds the above to codersdk.ProvisionerDaemons struct
This commit is contained in:
Cian Johnston
2023-12-05 13:54:38 +00:00
committed by GitHub
parent dd1f8331de
commit 5fad611020
14 changed files with 57 additions and 11 deletions
+3 -1
View File
@@ -513,7 +513,9 @@ CREATE TABLE provisioner_daemons (
name character varying(64) NOT NULL,
provisioners provisioner_type[] NOT NULL,
replica_id uuid,
tags jsonb DEFAULT '{}'::jsonb NOT NULL
tags jsonb DEFAULT '{}'::jsonb NOT NULL,
last_seen_at timestamp with time zone,
version text DEFAULT ''::text NOT NULL
);
CREATE TABLE provisioner_job_logs (