mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Bring ecto.* helpers back to life
This commit is contained in:
@@ -89,7 +89,7 @@ defmodule Web.MixProject do
|
||||
defp aliases do
|
||||
[
|
||||
"assets.build": ["cmd cd assets && yarn install --frozen-lockfile && node esbuild.js prod"],
|
||||
"ecto.seed": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
|
||||
"ecto.seed": ["ecto.create", "ecto.migrate", "run ../domain/priv/repo/seeds.exs"],
|
||||
"ecto.setup": ["ecto.create", "ecto.migrate"],
|
||||
"ecto.reset": ["ecto.drop", "ecto.setup"],
|
||||
test: ["ecto.create --quiet", "ecto.migrate", "test"]
|
||||
|
||||
@@ -13,6 +13,8 @@ import Config
|
||||
###############################
|
||||
|
||||
config :domain, ecto_repos: [Domain.Repo]
|
||||
config :web, ecto_repos: [Domain.Repo]
|
||||
|
||||
config :domain, sql_sandbox: false
|
||||
|
||||
config :domain, Domain.Repo,
|
||||
|
||||
Reference in New Issue
Block a user