mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
fix: fix apps being unavailable until rebuild (#4395)
This commit is contained in:
@ -0,0 +1 @@
|
||||
-- nothing
|
12
coderd/database/migrations/000056_app_subdomain_fix.up.sql
Normal file
12
coderd/database/migrations/000056_app_subdomain_fix.up.sql
Normal file
@ -0,0 +1,12 @@
|
||||
-- There was a mistake in the last migration which set "subdomain" to be the
|
||||
-- opposite of the deprecated value "relative_path", however the "relative_path"
|
||||
-- value may not have been correct as it was not consumed anywhere prior to this
|
||||
-- point.
|
||||
--
|
||||
-- Force all workspace apps to use path based routing until rebuild. This should
|
||||
-- not impact any existing workspaces as the only supported routing method has
|
||||
-- been path based routing prior to this point.
|
||||
--
|
||||
-- On rebuild the value from the Terraform template will be used instead
|
||||
-- (defaulting to false if unspecified).
|
||||
UPDATE "workspace_apps" SET "subdomain" = false;
|
Reference in New Issue
Block a user