Skip to content

Commit a90c6a0

Browse files
committed
rename classic_parameter_flow -> use_classic_parameter_flow
1 parent 845f16f commit a90c6a0

File tree

12 files changed

+32
-691
lines changed

12 files changed

+32
-691
lines changed

coderd/database/dump.sql

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/migrations/000326_version_dynamic_parameter_flow.down.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DROP VIEW template_with_names;
22

33
-- Drop the column
4-
ALTER TABLE templates DROP COLUMN classic_parameter_flow;
4+
ALTER TABLE templates DROP COLUMN use_classic_parameter_flow;
55

66

77
CREATE VIEW

coderd/database/migrations/000326_version_dynamic_parameter_flow.up.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
-- Default to `false`. Users will have to manually opt back into the classic parameter flow.
22
-- We want the new experience to be tried first.
3-
ALTER TABLE templates ADD COLUMN classic_parameter_flow BOOL NOT NULL DEFAULT false;
3+
ALTER TABLE templates ADD COLUMN use_classic_parameter_flow BOOL NOT NULL DEFAULT false;
44

5-
COMMENT ON COLUMN templates.classic_parameter_flow IS
5+
COMMENT ON COLUMN templates.use_classic_parameter_flow IS
66
'Determines whether to default to the dynamic parameter creation flow for this template '
77
'or continue using the legacy classic parameter creation flow.'
88
'This is a template wide setting, the template admin can revert to the classic flow if there are any issues. '

coderd/database/models.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)