forked from spinnaker/orca
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(orca-sql): Add migration for mariadb support (spinnaker#4779)
* add migration for mariadb support * include migration in changelog * change ids of changesets
- Loading branch information
1 parent
ff987dc
commit 7068d30
Showing
2 changed files
with
32 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
29 changes: 29 additions & 0 deletions
29
orca-sql/src/main/resources/db/changelog/20240731-add-compression-type-column-mariadb.yaml
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,29 @@ | ||
databaseChangeLog: | ||
- changeSet: | ||
id: add-compression-type-column-to-pipelines-compressed-executions-mariadb | ||
author: juangod-wise | ||
changes: | ||
- sql: | ||
dbms: mariadb | ||
sql: ALTER TABLE `pipelines_compressed_executions` ADD COLUMN `compression_type` ENUM("GZIP", "ZLIB") NOT NULL DEFAULT "ZLIB" | ||
- changeSet: | ||
id: add-compression-type-column-to-pipeline-stages-compressed-executions-mariadb | ||
author: juangod-wise | ||
changes: | ||
- sql: | ||
dbms: mariadb | ||
sql: ALTER TABLE `pipeline_stages_compressed_executions` ADD COLUMN `compression_type` ENUM("GZIP", "ZLIB") NOT NULL DEFAULT "ZLIB" | ||
- changeSet: | ||
id: add-compression-type-column-to-orchestrations-compressed-executions-mariadb | ||
author: juangod-wise | ||
changes: | ||
- sql: | ||
dbms: mariadb | ||
sql: ALTER TABLE `orchestrations_compressed_executions` ADD COLUMN `compression_type` ENUM("GZIP", "ZLIB") NOT NULL DEFAULT "ZLIB" | ||
- changeSet: | ||
id: add-compression-type-column-to-orchestration-stages-compressed-executions-mariadb | ||
author: juangod-wise | ||
changes: | ||
- sql: | ||
dbms: mariadb | ||
sql: ALTER TABLE `orchestration_stages_compressed_executions` ADD COLUMN `compression_type` ENUM("GZIP", "ZLIB") NOT NULL DEFAULT "ZLIB" |