Files
coder/coderd/database/migrations/000309_add_devcontainer_name.up.sql
Mathias Fredriksson 5c8cac9fb7 feat: add name to workspace agent devcontainers (#17089)
In the presence of multiple devcontainers, it would be nice to
differentiate them by name. This change inherits the resource name from
terraform.

Refs #17076
2025-03-25 12:59:20 +00:00

5 lines
249 B
SQL

ALTER TABLE workspace_agent_devcontainers ADD COLUMN name TEXT NOT NULL DEFAULT '';
ALTER TABLE workspace_agent_devcontainers ALTER COLUMN name DROP DEFAULT;
COMMENT ON COLUMN workspace_agent_devcontainers.name IS 'The name of the Dev Container.';