incident v0.4.1 mix incident.postgres.init 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. This task will generate an Ecto migration to create the events 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