-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename liquibase files to fix deployment
- Loading branch information
Showing
4 changed files
with
123 additions
and
122 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
120 changes: 115 additions & 5 deletions
120
pass-core-main/src/main/resources/db/changelog/changelog.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 |
---|---|---|
@@ -1,7 +1,117 @@ | ||
# This is changelog for public release | ||
databaseChangeLog: | ||
- include: | ||
file: db/changelog/public-changelog.yaml | ||
- include: | ||
file: ${institution-changelog-file} | ||
errorIfMissing: false | ||
- changeSet: | ||
id: 1 | ||
author: russ-poetker | ||
preConditions: | ||
- onFail: MARK_RAN | ||
- not: | ||
- tableExists: | ||
tableName: pass_submission | ||
changes: | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/schema/initial-schema.sql | ||
splitStatements: true | ||
stripComments: true | ||
- changeSet: | ||
id: 2 | ||
author: mark-patton | ||
changes: | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/schema/rc-external-ids.sql | ||
splitStatements: true | ||
stripComments: true | ||
- changeSet: | ||
id: 3 | ||
author: russ-poetker | ||
changes: | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/data/rc-ext-ids-migration.sql | ||
splitStatements: true | ||
stripComments: true | ||
- dropColumn: | ||
tableName: pass_repository_copy | ||
columns: | ||
- column: | ||
name: externalids | ||
- changeSet: | ||
id: 4 | ||
author: mark-patton | ||
changes: | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/schema/indices.sql | ||
splitStatements: true | ||
stripComments: true | ||
- changeSet: | ||
id: 5 | ||
author: mark-patton | ||
dbms: postgresql | ||
changes: | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/schema/postgres-pattern-indices.sql | ||
splitStatements: true | ||
stripComments: true | ||
- changeSet: | ||
id: 6 | ||
author: mark-patton | ||
changes: | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/schema/long-text.sql | ||
splitStatements: true | ||
stripComments: true | ||
- changeSet: | ||
id: 7 | ||
author: mark-patton | ||
changes: | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/schema/index-localkey.sql | ||
splitStatements: true | ||
stripComments: true | ||
- changeSet: | ||
id: 8 | ||
author: mark-patton | ||
changes: | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/schema/remove-contrib-pub.sql | ||
splitStatements: true | ||
stripComments: true | ||
- changeSet: | ||
id: 9 | ||
author: russ-poetker | ||
changes: | ||
- addColumn: | ||
tableName: pass_submission | ||
columns: | ||
- column: | ||
name: version | ||
type: bigint | ||
- addColumn: | ||
tableName: pass_deposit | ||
columns: | ||
- column: | ||
name: version | ||
type: bigint | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/data/version-migration.sql | ||
splitStatements: true | ||
stripComments: true | ||
- changeSet: | ||
id: 10 | ||
author: russ-poetker | ||
dbms: postgresql | ||
changes: | ||
- sqlFile: | ||
encoding: utf-8 | ||
path: /db/changelog/data/deposit-repo-copy-publication-id-fix.sql | ||
splitStatements: true | ||
stripComments: true | ||
|
7 changes: 7 additions & 0 deletions
7
pass-core-main/src/main/resources/db/changelog/core-changelog.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,7 @@ | ||
databaseChangeLog: | ||
- include: | ||
file: db/changelog/changelog.yaml | ||
- include: | ||
file: ${institution-changelog-file} | ||
errorIfMissing: false | ||
|
116 changes: 0 additions & 116 deletions
116
pass-core-main/src/main/resources/db/changelog/public-changelog.yaml
This file was deleted.
Oops, something went wrong.