Files
coder/coderd/database/migrations/000259_rename_first_organization.up.sql
Steven Masley 5c977c6be7 chore: rename 'first-organization' to 'coder' (#14808)
Rename the first-organization original name. Users can change from the
original name.
2024-09-26 13:20:44 -05:00

11 lines
158 B
SQL

UPDATE
organizations
SET
name = 'coder',
display_name = 'Coder'
WHERE
-- The old name was too long.
name = 'first-organization'
AND is_default = true
;