You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -551,7 +551,7 @@ Or let it run if your application starts:
551
551
```elixir
552
552
defmoduleMyApp.Releasedo
553
553
@moduledoc """
554
-
Used for executing DB release tasks when run in production without Mix
554
+
Used for executing DB release tasks when run in production without mix
555
555
installed.
556
556
"""
557
557
@@ -624,13 +624,13 @@ default values:
624
624
[
625
625
topology: :mongo,
626
626
collection: "migrations",
627
-
path: "mongo/migrations",
627
+
path: "migrations",
628
628
otp_app: :mongodb_driver
629
629
]
630
630
631
631
The following options are available:
632
632
*`:collection` - Version numbers of migrations will be saved in a collection named `migrations` by default.
633
-
*`:path` - the `priv` directory for migrations. `:path` defaults to "mongo/migrations" and migrations should be placed at "priv/mongo/migrations"
633
+
*`:path` - the `priv` directory for migrations. `:path` defaults to "migrations" and migrations should be placed at "priv/mongo/migrations". The pattern to build the path is `:priv/:topology/:path`
634
634
*`:otp_app` - the name of the otp_app to resolve the `priv` folder, defaults to `:mongodb_driver`. In most cases you use your application name.
635
635
*`:topology` - the topology for running the migrations, `:topology` defaults to `:mongo`
0 commit comments