File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 15
15
16
16
<include file =" tables/_all_changelogs.xml" relativeToChangelogFile =" true" />
17
17
<include file =" test-data/db.changelog-insert.xml" relativeToChangelogFile =" true" context =" dev" />
18
+ <include file =" migration/_db.changelog-migration.xml" relativeToChangelogFile =" true" context =" prod" />
18
19
19
20
</databaseChangeLog >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <databaseChangeLog
3
+ xmlns =" http://www.liquibase.org/xml/ns/dbchangelog"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://www.liquibase.org/xml/ns/dbchangelog
6
+ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd" >
7
+
8
+ <include file =" migration-from-save-to-cosv.xml" relativeToChangelogFile =" true" />
9
+
10
+ <changeSet id =" migration" author =" frolov" >
11
+ <tagDatabase tag =" migration" />
12
+ </changeSet >
13
+
14
+ </databaseChangeLog >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <databaseChangeLog
3
+ xmlns =" http://www.liquibase.org/xml/ns/dbchangelog"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://www.liquibase.org/xml/ns/dbchangelog
6
+ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd" >
7
+
8
+
9
+ <changeSet id =" migration-from-save-to-cosv" author =" frolov" context =" prod" >
10
+ <sql >
11
+ insert into cosv.cosv_file select * from save_cloud.cosv_file;
12
+ insert into cosv.raw_cosv_file select * from save_cloud.raw_cosv_file;
13
+ insert into cosv.cosv_generated_id select * from save_cloud.cosv_generated_id;
14
+ insert into cosv.vulnerability_metadata select * from save_cloud.vulnerability_metadata;
15
+ insert into cosv.vulnerability_metadata_project select * from save_cloud.vulnerability_metadata_project;
16
+ insert into cosv.lnk_vulnerability_metadata_tag select * from save_cloud.lnk_vulnerability_metadata_tag;
17
+ insert into cosv.lnk_vulnerability_metadata_user select * from save_cloud.lnk_vulnerability_metadata_user;
18
+ </sql >
19
+ </changeSet >
20
+
21
+ </databaseChangeLog >
You can’t perform that action at this time.
0 commit comments