EctoSharding v0.0.8 mix shards.gen.migration View Source

A wrapper around Ecto Mix Tasks that creates migrations for the sharded databases. As with Ecto migrations, migrations will be placed in a migrations directory nested under the priv directory specified in the config for the repo. It is recommended that you set the priv key in the Repo config to priv/shards to avoid confusion with main database migrations.

Link to this section Summary

Functions

Generates a migration for the Shard DB’s. Accepts the same arguments as Ecto does

Link to this section Functions

Generates a migration for the Shard DB’s. Accepts the same arguments as Ecto does.