mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: edit org display names and descriptions (#13474)
This commit is contained in:
committed by
GitHub
parent
1131772e79
commit
44a70a5bc2
@ -0,0 +1,2 @@
|
||||
alter table organizations
|
||||
drop column display_name;
|
@ -0,0 +1,10 @@
|
||||
-- This default is just a temporary thing to avoid null errors when first creating the column.
|
||||
alter table organizations
|
||||
add column display_name text not null default '';
|
||||
|
||||
update organizations
|
||||
set display_name = name;
|
||||
|
||||
-- We can remove the default now that everything has been copied.
|
||||
alter table organizations
|
||||
alter column display_name drop default;
|
Reference in New Issue
Block a user