forked from onecx/onecx-announcement-svc
-
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.
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.1" encoding="UTF-8" standalone="no"?> | ||
<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-latest.xsd" | ||
objectQuotingStrategy="QUOTE_ONLY_RESERVED_WORDS"> | ||
<changeSet author="dev (generated)" id="1720423004675-1"> | ||
<sql> | ||
DROP INDEX IF EXISTS start_status_idx; | ||
CREATE INDEX IF NOT EXISTS start_status_idx ON announcement (startdate, status, tenant_id); | ||
|
||
DROP INDEX IF EXISTS product_idx; | ||
CREATE INDEX IF NOT EXISTS product_idx ON announcement (product_name, tenant_id); | ||
|
||
DROP INDEX IF EXISTS workspace_idx; | ||
CREATE INDEX IF NOT EXISTS workspace_idx ON announcement (workspaceName, tenant_id); | ||
</sql> | ||
</changeSet> | ||
</databaseChangeLog> |