-
Notifications
You must be signed in to change notification settings - Fork 3
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
amckenzie
committed
Jan 14, 2019
1 parent
b8e67d7
commit 1bef279
Showing
2 changed files
with
25 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
21 changes: 21 additions & 0 deletions
21
.../resources/liquibase/event-store-db-changesets/011-add-indexes-to-event_log.changelog.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,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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-3.3.xsd"> | ||
|
||
<changeSet id="event-store-011" author="TechPod" logicalFilePath="011-add-indexes-to-event_log.changelog.xml"> | ||
|
||
<createIndex indexName="idx_event_log_name" | ||
tableName="event_log" | ||
unique="false"> | ||
<column name="name" type="TEXT"/> | ||
</createIndex> | ||
|
||
<createIndex indexName="idx_event_log_date_created" | ||
tableName="event_log" | ||
unique="false"> | ||
<column name="date_created" type="TIMESTAMP WITH TIME ZONE"/> | ||
</createIndex> | ||
</changeSet> | ||
</databaseChangeLog> |