mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
* Rename to nameValidator * Refactor: NameValid * Fix: comment * Define new migration * Include display_name * Update typesGenerated.ts * Update meta * Adjust tests * CLI tests * Fix: audit * Fix: omitempty * site: display_name is optional * unit: TestUsernameValid * entities.ts: add display_name * site: TemplateSettingsPage.test.tsx * Fix: TemplateSettingsForm.tsx * Adjust tests * Add comment to display_name column * Fix: rename * Fix: make * Loosen regexp * Fix: err check * Fix: template name length * Allow for whitespaces * Update migration number
5 lines
201 B
SQL
5 lines
201 B
SQL
ALTER TABLE templates ADD COLUMN display_name VARCHAR(64) NOT NULL DEFAULT '';
|
|
|
|
COMMENT ON COLUMN templates.display_name
|
|
IS 'Display name is a custom, human-friendly template name that user can set.';
|