-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WOR-1810: Remove saturnAutoCreated label from Azure apps
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 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
13 changes: 13 additions & 0 deletions
13
...leonardo/liquibase/changesets/20240828_remove_saturnAutoCreated_label_from_azure_apps.xml
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,13 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<databaseChangeLog logicalFilePath="leonardo" xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"> | ||
<changeSet logicalFilePath="leonardo" author="rtitle" id="remove-saturnAutoCreated-label-from-azure-apps"> | ||
<sql dbms="mysql"> | ||
DELETE FROM LABEL l | ||
JOIN APP a ON l.resourceId = a.id AND l.resourceType = 'app' | ||
WHERE l.`key` = 'saturnAutoCreated' | ||
AND a.appType in ('WORKFLOWS_APP', 'CROMWELL_RUNNER_APP'); | ||
</sql> | ||
</changeSet> | ||
</databaseChangeLog> | ||
|
||
|