-
Notifications
You must be signed in to change notification settings - Fork 952
feat: add icon and description to preset #18977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ALTER TABLE template_version_presets | ||
DROP COLUMN IF EXISTS description, | ||
DROP COLUMN IF EXISTS icon; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ALTER TABLE template_version_presets | ||
ADD COLUMN IF NOT EXISTS description VARCHAR(128) NOT NULL DEFAULT '', | ||
ADD COLUMN IF NOT EXISTS icon VARCHAR(256) NOT NULL DEFAULT ''; | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applying the same size constraints as:
templates
table: https://github.com/coder/coder/blob/main/coderd/database/dump.sql#L1727-L1730terraform-provider-coder
: https://github.com/coder/terraform-provider-coder/blob/e6d58d0ed91f1bcd614ecbac2db228b64c1de3d4/provider/workspace_preset.go#L98-L115