phoenix_ecto
phoenix_ecto copied to clipboard
Phoenix and Ecto integration with support for concurrent acceptance testing
Fix issue https://github.com/phoenixframework/phoenix_ecto/issues/154 This add the support of multiple repos to the sandbox plug API: ```elixir plug(Phoenix.Ecto.SQL.Sandbox, at: "/sandbox", repo: [MyApp.Repo1, MyApp.Repo2], timeout: 60_000, ) ``` There should be no...
Hello! 👋 I'd like to use the sandbox plug with multi repos, like this: ```elixir plug(Phoenix.Ecto.SQL.Sandbox, at: "/sandbox", repo: [MyApp.Repo1, MyApp.Repo2], timeout: 60_000, ) ``` By reading the code source...
When developing an app that uses [schema-based multi-tenancy](https://hexdocs.pm/ecto/multi-tenancy-with-query-prefixes.html), it would be useful to be able to configure another `CheckRepoStatus` plug for a named "dev" tenant: ```elixir plug Phoenix.Ecto.CheckRepoStatus, otp_app: :myapp...