Skip to content

Commit 845f16f

Browse files
committed
fix downgrade
1 parent 327674e commit 845f16f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
DROP VIEW template_with_names;
2+
3+
-- Drop the column
14
ALTER TABLE templates DROP COLUMN classic_parameter_flow;
25

3-
-- Update the template_with_names view by recreating it.
4-
DROP VIEW template_with_names;
6+
57
CREATE VIEW
68
template_with_names
79
AS

0 commit comments

Comments
 (0)