Skip to content

Commit f18dcb9

Browse files
committed
chore: migration to rename
1 parent ab9d050 commit f18dcb9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-- Leave the name as 'main', there is no downside.
2+
-- The old name 'first-organization' is not used anywhere, just the
3+
-- is_default property.

coderd/database/migrations/000259_rename_first_organization.up.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ SET
66
WHERE
77
-- The old name was too long.
88
name = 'first-organization'
9+
AND is_default = true
910
;

0 commit comments

Comments
 (0)