Skip to content

Commit

Permalink
fix(orca-sql): Add migration for mariadb support (#4779)
Browse files Browse the repository at this point in the history
* add migration for mariadb support

* include migration in changelog

* change ids of changesets
  • Loading branch information
juangod-wise committed Sep 17, 2024
1 parent ff987dc commit 7068d30
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions orca-sql/src/main/resources/db/changelog-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ databaseChangeLog:
- include:
file: changelog/20201214-create-compressed-executions-table.yaml
relativeToChangelogFile: true
- include:
file: changelog/20240731-add-compression-type-column-mariadb.yaml
relativeToChangelogFile: true
- include:
file: changelog/20220427-add-compression-type-column-to-compressed-executions-tables-postgres.yaml
relativeToChangelogFile: true
Expand Down
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"

0 comments on commit 7068d30

Please sign in to comment.