mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add OpenIn option to coder_app (#15743)
This PR is the coder/coder part of [the open_in parameter issue](https://github.com/coder/terraform-provider-coder/issues/297) aiming to add a new optional parameter to choose how to open modules. This PR is heavily linked [to this PR](https://github.com/coder/terraform-provider-coder/pull/321). ℹ️ For now, some integrations tests can not be pushed as it requires a release on the terraform-provider repo.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE workspace_apps DROP COLUMN open_in;
|
||||
|
||||
DROP TYPE workspace_app_open_in;
|
||||
@@ -0,0 +1,3 @@
|
||||
CREATE TYPE workspace_app_open_in AS ENUM ('tab', 'window', 'slim-window');
|
||||
|
||||
ALTER TABLE workspace_apps ADD COLUMN open_in workspace_app_open_in NOT NULL DEFAULT 'slim-window'::workspace_app_open_in;
|
||||
Reference in New Issue
Block a user