-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds user_id index to organization members table (#243)
- Loading branch information
1 parent
5b23e64
commit bb41430
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
src/main/resources/META-INF/jpa-changelog-phasetwo-20240610.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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-3.8.xsd"> | ||
|
||
<changeSet author="richardalberto" id="add-organization-member-user-index" > | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<indexExists indexName="IDX_USER_ID" /> | ||
</not> | ||
</preConditions> | ||
<createIndex indexName="IDX_USER_ID" tableName="ORGANIZATION_MEMBER"> | ||
<column name="USER_ID" type="VARCHAR(255)"/> | ||
</createIndex> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |
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