chore: rename 'first-organization' to 'coder' (#14808)

Rename the first-organization original name. Users can change from the
original name.
This commit is contained in:
Steven Masley
2024-09-26 13:20:44 -05:00
committed by GitHub
parent b23e6a05c8
commit 5c977c6be7
5 changed files with 17 additions and 4 deletions
@@ -0,0 +1,3 @@
-- Leave the name as 'coder', there is no downside.
-- The old name 'first-organization' is not used anywhere, just the
-- is_default property.
@@ -0,0 +1,10 @@
UPDATE
organizations
SET
name = 'coder',
display_name = 'Coder'
WHERE
-- The old name was too long.
name = 'first-organization'
AND is_default = true
;