View Source mix event_store.create (EventStore v1.4.0)

Create the database for the EventStore.

The event stores to create 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.create -e MyApp.EventStore

command-line-options

Command line options

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