mix incident.postgres.init (incident v0.6.1) View Source

This task will generate some basic setup when using PostgresAdapter.

When using this adapter you will need to have a table to store the events and aggregate locks. This task will generate an Ecto migration to create the events and aggregate_locks table with the needed columns and indexes. The task will respect your Ecto configuration for your EventStoreRepo.

Usage

mix incident.postgres.init -r AppName.EventStoreRepo