-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: polish entityviews multiselect
- Loading branch information
1 parent
de95299
commit 730a00c
Showing
15 changed files
with
296 additions
and
283 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
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
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
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
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
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
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
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
88 changes: 45 additions & 43 deletions
88
src/main/resources/db/changelog/migration/02-user_cas_details.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,43 +1,45 @@ | ||
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
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="appUser" id="create-sequence-user_cas_details_seq"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<sequenceExists sequenceName="user_cas_details_seq"/> | ||
</not> | ||
</preConditions> | ||
<createSequence sequenceName="user_cas_details_seq" | ||
startValue="1" | ||
incrementBy="50"/> | ||
</changeSet> | ||
|
||
<changeSet author="appUser" id="create-table-user_cas_details"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<tableExists tableName="user_cas_details"/> | ||
</not> | ||
</preConditions> | ||
<createTable tableName="user_cas_details"> | ||
<column name="id" type="bigint" autoIncrement="true"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="cas_type" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="file_type" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="created_by" type="${string.type}"/> | ||
<column name="created_date" type="timestamp"/> | ||
<column name="last_modified_by" type="${string.type}"/> | ||
<column name="last_modified_date" type="timestamp"/> | ||
</createTable> | ||
</changeSet> | ||
|
||
</databaseChangeLog> | ||
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
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"/> | ||
<property name="timestamp.type" value="timestamp" dbms="!postgresql"/> | ||
<property name="timestamp.type" value="timestamptz" dbms="postgresql"/> | ||
|
||
<changeSet author="appUser" id="create-sequence-user_cas_details_seq"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<sequenceExists sequenceName="user_cas_details_seq"/> | ||
</not> | ||
</preConditions> | ||
<createSequence sequenceName="user_cas_details_seq" | ||
startValue="1" | ||
incrementBy="50"/> | ||
</changeSet> | ||
|
||
<changeSet author="appUser" id="create-table-user_cas_details"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<tableExists tableName="user_cas_details"/> | ||
</not> | ||
</preConditions> | ||
<createTable tableName="user_cas_details"> | ||
<column name="id" type="bigint" autoIncrement="true"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="cas_type" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="file_type" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="created_by" type="${string.type}"/> | ||
<column name="created_date" type="${timestamp.type}"/> | ||
<column name="last_modified_by" type="${string.type}"/> | ||
<column name="last_modified_date" type="${timestamp.type}"/> | ||
</createTable> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |
128 changes: 65 additions & 63 deletions
128
src/main/resources/db/changelog/migration/03-user-folio-details.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,63 +1,65 @@ | ||
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
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="appUser" id="create-user_folio_details_seq"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<sequenceExists sequenceName="user_folio_details_seq"/> | ||
</not> | ||
</preConditions> | ||
<createSequence sequenceName="user_folio_details_seq" | ||
startValue="1" | ||
incrementBy="50"/> | ||
</changeSet> | ||
|
||
<changeSet id="create_table_user_folio_details" author="appUser"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<tableExists tableName="user_folio_details"/> | ||
</not> | ||
</preConditions> | ||
<createTable tableName="user_folio_details"> | ||
<column name="id" type="BIGINT" autoIncrement="true"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="folio" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="amc" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="pan" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="kyc" type="${string.type}"/> | ||
<column name="pan_kyc" type="${string.type}"/> | ||
<column name="user_cas_details_id" type="BIGINT"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="created_by" type="${string.type}"/> | ||
<column name="created_date" type="timestamp"/> | ||
<column name="last_modified_by" type="${string.type}"/> | ||
<column name="last_modified_date" type="timestamp"/> | ||
</createTable> | ||
</changeSet> | ||
|
||
<changeSet id="addForeignKeyConstraint_user_folio_details" author="appUser"> | ||
<preConditions> | ||
<not> | ||
<foreignKeyConstraintExists foreignKeyName="FK_USER_FOLIO_DETAILS_ON_USER_CAS_DETAILS"/> | ||
</not> | ||
</preConditions> | ||
<addForeignKeyConstraint baseTableName="user_folio_details" | ||
baseColumnNames="user_cas_details_id" | ||
constraintName="FK_USER_FOLIO_DETAILS_ON_USER_CAS_DETAILS" | ||
referencedTableName="user_cas_details" | ||
referencedColumnNames="id"/> | ||
</changeSet> | ||
|
||
</databaseChangeLog> | ||
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
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"/> | ||
<property name="timestamp.type" value="timestamp" dbms="!postgresql"/> | ||
<property name="timestamp.type" value="timestamptz" dbms="postgresql"/> | ||
|
||
<changeSet author="appUser" id="create-user_folio_details_seq"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<sequenceExists sequenceName="user_folio_details_seq"/> | ||
</not> | ||
</preConditions> | ||
<createSequence sequenceName="user_folio_details_seq" | ||
startValue="1" | ||
incrementBy="50"/> | ||
</changeSet> | ||
|
||
<changeSet id="create_table_user_folio_details" author="appUser"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<tableExists tableName="user_folio_details"/> | ||
</not> | ||
</preConditions> | ||
<createTable tableName="user_folio_details"> | ||
<column name="id" type="BIGINT" autoIncrement="true"> | ||
<constraints primaryKey="true" nullable="false"/> | ||
</column> | ||
<column name="folio" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="amc" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="pan" type="${string.type}"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="kyc" type="${string.type}"/> | ||
<column name="pan_kyc" type="${string.type}"/> | ||
<column name="user_cas_details_id" type="BIGINT"> | ||
<constraints nullable="false"/> | ||
</column> | ||
<column name="created_by" type="${string.type}"/> | ||
<column name="created_date" type="${timestamp.type}"/> | ||
<column name="last_modified_by" type="${string.type}"/> | ||
<column name="last_modified_date" type="${timestamp.type}"/> | ||
</createTable> | ||
</changeSet> | ||
|
||
<changeSet id="addForeignKeyConstraint_user_folio_details" author="appUser"> | ||
<preConditions> | ||
<not> | ||
<foreignKeyConstraintExists foreignKeyName="FK_USER_FOLIO_DETAILS_ON_USER_CAS_DETAILS"/> | ||
</not> | ||
</preConditions> | ||
<addForeignKeyConstraint baseTableName="user_folio_details" | ||
baseColumnNames="user_cas_details_id" | ||
constraintName="FK_USER_FOLIO_DETAILS_ON_USER_CAS_DETAILS" | ||
referencedTableName="user_cas_details" | ||
referencedColumnNames="id"/> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |
Oops, something went wrong.