View Source mix event_store.init (EventStore v1.4.1)

Initialize the database for the EventStore.

The event stores to initialize are the ones specified under the :event_stores option in the current app configuration. However, if the -e option is given, it replaces the :event_stores config.

examples

Examples

mix event_store.init -e MyApp.EventStore

command-line-options

Command line options

  • -e, --eventstore - the event store to create
  • --quiet - do not log output