-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize line endings to LF for xml files
- Loading branch information
1 parent
c67c4c5
commit 9863ddb
Showing
28 changed files
with
792 additions
and
791 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.xml text eol=lf |
50 changes: 25 additions & 25 deletions
50
...h-boot-jpa-sample/src/main/resources/db/changelog/migration/01-create_customers_table.xml
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,25 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
<changeSet author="app" id="createTable-customers"> | ||
<createSequence | ||
sequenceName="customers_seq" | ||
incrementBy="50" | ||
startValue="1" | ||
/> | ||
<createTable tableName="customers"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="customers_seq"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="name" type="varchar(1024)"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="address" type="varchar(1024)"/> | ||
<column name="gender" type="varchar(10)"/> | ||
</createTable> | ||
</changeSet> | ||
</databaseChangeLog> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
<changeSet author="app" id="createTable-customers"> | ||
<createSequence | ||
sequenceName="customers_seq" | ||
incrementBy="50" | ||
startValue="1" | ||
/> | ||
<createTable tableName="customers"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="customers_seq"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="name" type="varchar(1024)"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="address" type="varchar(1024)"/> | ||
<column name="gender" type="varchar(10)"/> | ||
</createTable> | ||
</changeSet> | ||
</databaseChangeLog> |
80 changes: 40 additions & 40 deletions
80
boot-rabbitmq-thymeleaf/src/main/resources/db/changelog/01-create-tables.xml
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,40 +1,40 @@ | ||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
|
||
<property name="stringType" dbms="postgres" value="text"/> | ||
<property name="stringType" dbms="!postgres" value="varchar(50)"/> | ||
|
||
<changeSet id="1689581050846-1" author="rajakolli"> | ||
<preConditions> | ||
<not> | ||
<sequenceExists sequenceName="tracking_state_seq"/> | ||
</not> | ||
</preConditions> | ||
<createSequence sequenceName="tracking_state_seq" startValue="1" incrementBy="50"/> | ||
</changeSet> | ||
|
||
<changeSet id="1" author="rajakolli"> | ||
<preConditions> | ||
<not> | ||
<tableExists tableName="tracking_state"/> | ||
</not> | ||
</preConditions> | ||
<createTable tableName="tracking_state"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="tracking_state_seq"> | ||
<constraints primaryKey="true" primaryKeyName="tracking_state_id"/> | ||
</column> | ||
<column name="correlation_id" type="${stringType}"> | ||
<constraints nullable="false" unique="true"/> | ||
</column> | ||
<column name="ack" type="boolean" /> | ||
<column name="status" type="${stringType}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="cause" type="${stringType}" /> | ||
</createTable> | ||
</changeSet> | ||
|
||
</databaseChangeLog> | ||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
|
||
<property name="stringType" dbms="postgres" value="text"/> | ||
<property name="stringType" dbms="!postgres" value="varchar(50)"/> | ||
|
||
<changeSet id="1689581050846-1" author="rajakolli"> | ||
<preConditions> | ||
<not> | ||
<sequenceExists sequenceName="tracking_state_seq"/> | ||
</not> | ||
</preConditions> | ||
<createSequence sequenceName="tracking_state_seq" startValue="1" incrementBy="50"/> | ||
</changeSet> | ||
|
||
<changeSet id="1" author="rajakolli"> | ||
<preConditions> | ||
<not> | ||
<tableExists tableName="tracking_state"/> | ||
</not> | ||
</preConditions> | ||
<createTable tableName="tracking_state"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="tracking_state_seq"> | ||
<constraints primaryKey="true" primaryKeyName="tracking_state_id"/> | ||
</column> | ||
<column name="correlation_id" type="${stringType}"> | ||
<constraints nullable="false" unique="true"/> | ||
</column> | ||
<column name="ack" type="boolean" /> | ||
<column name="status" type="${stringType}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="cause" type="${stringType}" /> | ||
</createTable> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |
62 changes: 31 additions & 31 deletions
62
.../boot-graphql-querydsl/src/main/resources/db/changelog/migration/01-create_tags_table.xml
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,31 +1,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
<property name="string.type" value="varchar(255)" dbms="!postgresql"/> | ||
<property name="string.type" value="text" dbms="postgresql"/> | ||
|
||
<changeSet author="app" id="createTable-tags"> | ||
<createSequence | ||
sequenceName="tags_seq" | ||
incrementBy="50" | ||
startValue="1" | ||
/> | ||
<createTable tableName="tags"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="tags_seq"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="name" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
</createTable> | ||
</changeSet> | ||
|
||
<changeSet id="create_unique_column" author="app"> | ||
<addUniqueConstraint columnNames="name" constraintName="uc_tag_name" tableName="tags"/> | ||
</changeSet> | ||
</databaseChangeLog> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
<property name="string.type" value="varchar(255)" dbms="!postgresql"/> | ||
<property name="string.type" value="text" dbms="postgresql"/> | ||
|
||
<changeSet author="app" id="createTable-tags"> | ||
<createSequence | ||
sequenceName="tags_seq" | ||
incrementBy="50" | ||
startValue="1" | ||
/> | ||
<createTable tableName="tags"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="tags_seq"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="name" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
</createTable> | ||
</changeSet> | ||
|
||
<changeSet id="create_unique_column" author="app"> | ||
<addUniqueConstraint columnNames="name" constraintName="uc_tag_name" tableName="tags"/> | ||
</changeSet> | ||
</databaseChangeLog> |
64 changes: 32 additions & 32 deletions
64
...boot-graphql-querydsl/src/main/resources/db/changelog/migration/02-create_posts_table.xml
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,32 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
<property name="string.type" value="varchar(255)" dbms="!postgresql"/> | ||
<property name="string.type" value="text" dbms="postgresql"/> | ||
|
||
<changeSet author="app" id="createTable-posts"> | ||
<createSequence | ||
sequenceName="posts_seq" | ||
incrementBy="50" | ||
startValue="1" | ||
/> | ||
<createTable tableName="posts"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="posts_seq"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="title" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="content" type="${string.type}"> | ||
<constraints nullable="false" /> | ||
</column> | ||
<column name="created_on" type="DATETIME"/> | ||
<column name="details_id" type="BIGINT"/> | ||
</createTable> | ||
</changeSet> | ||
</databaseChangeLog> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
<property name="string.type" value="varchar(255)" dbms="!postgresql"/> | ||
<property name="string.type" value="text" dbms="postgresql"/> | ||
|
||
<changeSet author="app" id="createTable-posts"> | ||
<createSequence | ||
sequenceName="posts_seq" | ||
incrementBy="50" | ||
startValue="1" | ||
/> | ||
<createTable tableName="posts"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="posts_seq"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="title" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="content" type="${string.type}"> | ||
<constraints nullable="false" /> | ||
</column> | ||
<column name="created_on" type="DATETIME"/> | ||
<column name="details_id" type="BIGINT"/> | ||
</createTable> | ||
</changeSet> | ||
</databaseChangeLog> |
70 changes: 35 additions & 35 deletions
70
...phql-querydsl/src/main/resources/db/changelog/migration/04-create_post_comments_table.xml
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,35 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
<property name="string.type" value="varchar(255)" dbms="!postgresql"/> | ||
<property name="string.type" value="text" dbms="postgresql"/> | ||
|
||
<changeSet author="app" id="createTable-post_comments"> | ||
<createSequence | ||
sequenceName="post_comments_seq" | ||
incrementBy="50" | ||
startValue="1" | ||
/> | ||
<createTable tableName="post_comments"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="post_comments_seq"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="review" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="created_on" type="DATETIME"/> | ||
<column name="post_id" type="BIGINT"/> | ||
</createTable> | ||
</changeSet> | ||
|
||
<changeSet id="add_foreign_key_post_comment" author="app"> | ||
<addForeignKeyConstraint baseColumnNames="post_id" baseTableName="post_comments" | ||
constraintName="FK_POST_COMMENT_ON_POSTS" referencedColumnNames="id" | ||
referencedTableName="posts"/> | ||
</changeSet> | ||
</databaseChangeLog> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
<property name="string.type" value="varchar(255)" dbms="!postgresql"/> | ||
<property name="string.type" value="text" dbms="postgresql"/> | ||
|
||
<changeSet author="app" id="createTable-post_comments"> | ||
<createSequence | ||
sequenceName="post_comments_seq" | ||
incrementBy="50" | ||
startValue="1" | ||
/> | ||
<createTable tableName="post_comments"> | ||
<column name="id" type="bigint" defaultValueSequenceNext="post_comments_seq"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="review" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="created_on" type="DATETIME"/> | ||
<column name="post_id" type="BIGINT"/> | ||
</createTable> | ||
</changeSet> | ||
|
||
<changeSet id="add_foreign_key_post_comment" author="app"> | ||
<addForeignKeyConstraint baseColumnNames="post_id" baseTableName="post_comments" | ||
constraintName="FK_POST_COMMENT_ON_POSTS" referencedColumnNames="id" | ||
referencedTableName="posts"/> | ||
</changeSet> | ||
</databaseChangeLog> |
56 changes: 28 additions & 28 deletions
56
...-graphql-querydsl/src/main/resources/db/changelog/migration/05-create_post_tags_table.xml
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,28 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
<property name="string.type" value="varchar(255)" dbms="!postgresql"/> | ||
<property name="string.type" value="text" dbms="postgresql"/> | ||
|
||
<changeSet author="app" id="createTable-post_tags"> | ||
<createTable tableName="post_tags"> | ||
<column name="created_on" type="DATETIME"/> | ||
<column name="post_id" type="BIGINT"> | ||
<constraints nullable="false" primaryKey="true" primaryKeyName="pk_post_tag"/> | ||
</column> | ||
<column name="tag_id" type="BIGINT"> | ||
<constraints nullable="false" primaryKey="true" primaryKeyName="pk_post_tag"/> | ||
</column> | ||
</createTable> | ||
|
||
<addForeignKeyConstraint baseColumnNames="post_id" baseTableName="post_tags" constraintName="FK_POST_TAG_ON_POST" | ||
referencedColumnNames="id" referencedTableName="posts"/> | ||
<addForeignKeyConstraint baseColumnNames="tag_id" baseTableName="post_tags" constraintName="FK_POST_TAG_ON_TAG" | ||
referencedColumnNames="id" referencedTableName="tags"/> | ||
</changeSet> | ||
</databaseChangeLog> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- https://docs.liquibase.com/concepts/changelogs/xml-format.html --> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.20.xsd"> | ||
|
||
<property name="string.type" value="varchar(255)" dbms="!postgresql"/> | ||
<property name="string.type" value="text" dbms="postgresql"/> | ||
|
||
<changeSet author="app" id="createTable-post_tags"> | ||
<createTable tableName="post_tags"> | ||
<column name="created_on" type="DATETIME"/> | ||
<column name="post_id" type="BIGINT"> | ||
<constraints nullable="false" primaryKey="true" primaryKeyName="pk_post_tag"/> | ||
</column> | ||
<column name="tag_id" type="BIGINT"> | ||
<constraints nullable="false" primaryKey="true" primaryKeyName="pk_post_tag"/> | ||
</column> | ||
</createTable> | ||
|
||
<addForeignKeyConstraint baseColumnNames="post_id" baseTableName="post_tags" constraintName="FK_POST_TAG_ON_POST" | ||
referencedColumnNames="id" referencedTableName="posts"/> | ||
<addForeignKeyConstraint baseColumnNames="tag_id" baseTableName="post_tags" constraintName="FK_POST_TAG_ON_TAG" | ||
referencedColumnNames="id" referencedTableName="tags"/> | ||
</changeSet> | ||
</databaseChangeLog> |
Oops, something went wrong.