mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
feat: support order
property of coder_agent
(#12121)
This commit is contained in:
3
coderd/database/dump.sql
generated
3
coderd/database/dump.sql
generated
@ -1040,6 +1040,7 @@ CREATE TABLE workspace_agents (
|
||||
subsystems workspace_agent_subsystem[] DEFAULT '{}'::workspace_agent_subsystem[],
|
||||
display_apps display_app[] DEFAULT '{vscode,vscode_insiders,web_terminal,ssh_helper,port_forwarding_helper}'::display_app[],
|
||||
api_version text DEFAULT ''::text NOT NULL,
|
||||
display_order integer DEFAULT 0 NOT NULL,
|
||||
CONSTRAINT max_logs_length CHECK ((logs_length <= 1048576)),
|
||||
CONSTRAINT subsystems_not_none CHECK ((NOT ('none'::workspace_agent_subsystem = ANY (subsystems))))
|
||||
);
|
||||
@ -1064,6 +1065,8 @@ COMMENT ON COLUMN workspace_agents.started_at IS 'The time the agent entered the
|
||||
|
||||
COMMENT ON COLUMN workspace_agents.ready_at IS 'The time the agent entered the ready or start_error lifecycle state';
|
||||
|
||||
COMMENT ON COLUMN workspace_agents.display_order IS 'Specifies the order in which to display agents in user interfaces.';
|
||||
|
||||
CREATE TABLE workspace_app_stats (
|
||||
id bigint NOT NULL,
|
||||
user_id uuid NOT NULL,
|
||||
|
Reference in New Issue
Block a user