-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into report_improvements
- Loading branch information
Showing
513 changed files
with
22,658 additions
and
16,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,5 @@ | ||
ALTER TABLE magic_auth_tokens ADD COLUMN resources JSONB NOT NULL DEFAULT '[]'::jsonb; | ||
|
||
UPDATE magic_auth_tokens | ||
SET resources = jsonb_build_array( | ||
jsonb_build_object( | ||
'Type', resource_type, | ||
'Name', resource_name | ||
) | ||
); | ||
|
||
ALTER TABLE magic_auth_tokens DROP COLUMN resource_name, DROP COLUMN resource_type; | ||
ALTER TABLE project_roles ADD read_provisioner_resources BOOLEAN DEFAULT false NOT NULL; | ||
UPDATE project_roles SET read_provisioner_resources = read_prod_status; | ||
|
||
ALTER TABLE project_roles ADD manage_provisioner_resources BOOLEAN DEFAULT false NOT NULL; | ||
UPDATE project_roles SET manage_provisioner_resources = manage_prod; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ALTER TABLE orgs ADD COLUMN logo_asset_id UUID REFERENCES assets(id) ON DELETE SET NULL; | ||
|
||
ALTER TABLE assets ADD COLUMN cacheable BOOLEAN NOT NULL DEFAULT FALSE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ALTER TABLE magic_auth_tokens ADD COLUMN resources JSONB NOT NULL DEFAULT '[]'::jsonb; | ||
|
||
UPDATE magic_auth_tokens | ||
SET resources = jsonb_build_array( | ||
jsonb_build_object( | ||
'Type', resource_type, | ||
'Name', resource_name | ||
) | ||
); | ||
|
||
ALTER TABLE magic_auth_tokens DROP COLUMN resource_name, DROP COLUMN resource_type; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.