Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Latest commit

 

History

History
15 lines (9 loc) · 673 Bytes

Upgrades.md

File metadata and controls

15 lines (9 loc) · 673 Bytes

Upgrading an EventStore

The CHANGELOG is used to indicate when a schema migration is required for a given version of the EventStore.

You can upgrade an existing EventStore database using the following mix task:

$ mix event_store.migrate

Run this command each time you upgrade; it is safe to run multiple times.

You must stop the :eventstore application to apply an upgrade. It is always worth taking a full backup of the EventStore database before applying an upgrade.

Creating an EventStore, using the mix event_store.create task, will always use the latest database schema.