change README.md, delete include dir diff-changelog from changelog-dir/changelog-master.xml

This commit is contained in:
pashko 2024-05-03 10:58:52 +08:00
parent af3d3e83bd
commit d0239ce2f7
2 changed files with 5 additions and 8 deletions

View File

@ -5,9 +5,11 @@
│ ├── changelog-master.xml │ ├── changelog-master.xml
│ ├── diff-changelog │ ├── diff-changelog
│ └── update-changelog │ └── update-changelog
│ └── liquibase-diffChangeLog-20240503024308.sql
├── liquibase_log ├── liquibase_log
│ ├── liquibase_log_diff-20240502232404.log │ ├── liquibase_log_diff-20240503104305.log
│ └── liquibase_log_diff-20240502233040.log │ ├── liquibase_log_history-20240503104702.log
│ └── liquibase_log_update-20240503104616.log
├── liquibase.properties ├── liquibase.properties
├── pom.xml ├── pom.xml
└── README.md └── README.md
@ -23,7 +25,7 @@ mvn liquibase:diff -X > liquibase_log/liquibase_log_diff-$(date +%Y%m%d%H%M%S).l
* 2.1. asdasdasd * 2.1. asdasdasd
```shell ```shell
sed -i 's/\[\x220001-01-01T00:00:00+00:00\x22\]/\x27\[\x220001-01-01T00:00:00+00:00\x22\]\x27/g' changelog-dir/diff-changelog/*.sql sed -i 's/\x220001-01-01T00:00:00+00:00\x22/\x27\[\x220001-01-01T00:00:00+00:00\x22\]\x27/g' changelog-dir/diff-changelog/*.sql
``` ```
* 2.2. asdasdasd * 2.2. asdasdasd
```shell ```shell

View File

@ -9,10 +9,5 @@
http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd
http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd"> http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<!-- <changeSet author="" dbms="postgresql" id="1713864000000-1">
<sqlFile path="changelog-dir/my_function.sql" splitStatements="false"/>
</changeSet> -->
<includeAll path="changelog-dir/diff-changelog/"/>
<includeAll path="changelog-dir/update-changelog/"/> <includeAll path="changelog-dir/update-changelog/"/>
</databaseChangeLog> </databaseChangeLog>