Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename classic_parameter_flow -> use_classic_parameter_flow
  • Loading branch information
Emyrk committed May 14, 2025
commit a90c6a05172804276db47b43a91f92800ccfdb5d
6 changes: 3 additions & 3 deletions coderd/database/dump.sql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DROP VIEW template_with_names;

-- Drop the column
ALTER TABLE templates DROP COLUMN classic_parameter_flow;
ALTER TABLE templates DROP COLUMN use_classic_parameter_flow;


CREATE VIEW
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- Default to `false`. Users will have to manually opt back into the classic parameter flow.
-- We want the new experience to be tried first.
ALTER TABLE templates ADD COLUMN classic_parameter_flow BOOL NOT NULL DEFAULT false;
ALTER TABLE templates ADD COLUMN use_classic_parameter_flow BOOL NOT NULL DEFAULT false;

COMMENT ON COLUMN templates.classic_parameter_flow IS
COMMENT ON COLUMN templates.use_classic_parameter_flow IS
'Determines whether to default to the dynamic parameter creation flow for this template '
'or continue using the legacy classic parameter creation flow.'
'This is a template wide setting, the template admin can revert to the classic flow if there are any issues. '
Expand Down
4 changes: 2 additions & 2 deletions coderd/database/models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading