Skip to content

Commit

Permalink
Add indexes to event_log table
Browse files Browse the repository at this point in the history
  • Loading branch information
amckenzie committed Jan 14, 2019
1 parent b8e67d7 commit 1bef279
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on [Keep a CHANGELOG](http://keepachangelog.com/). This project adheres to

## [Unreleased]

## [1.0.8] - 2019-01-14
### Added
- Added indexes to 'name' and 'date_created' the event_log table

## [1.0.7] - 2018-12-20
### Changed
- Updated framework to 5.0.6
Expand Down
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>

0 comments on commit 1bef279

Please sign in to comment.