parts missed from the initial sync
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
[
|
[
|
||||||
import_deps: [:ecto, :ecto_sql],
|
import_deps: [:ecto, :ecto_sql],
|
||||||
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
|
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -16,4 +16,4 @@ config :logger, :console,
|
|||||||
format: "$time $metadata[$level] $message\n",
|
format: "$time $metadata[$level] $message\n",
|
||||||
metadata: [:request_id]
|
metadata: [:request_id]
|
||||||
|
|
||||||
import_config "#{config_env()}.exs"
|
import_config "#{config_env()}.exs"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import Config
|
import Config
|
||||||
|
|
||||||
config :bds, BDS.Repo,
|
config :bds, BDS.Repo,
|
||||||
pool_size: 5
|
pool_size: 5
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ if config_env() == :prod do
|
|||||||
config :bds, BDS.Repo,
|
config :bds, BDS.Repo,
|
||||||
database: database_path,
|
database: database_path,
|
||||||
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5")
|
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "5")
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ config :bds, BDS.Repo,
|
|||||||
pool: Ecto.Adapters.SQL.Sandbox,
|
pool: Ecto.Adapters.SQL.Sandbox,
|
||||||
pool_size: 5
|
pool_size: 5
|
||||||
|
|
||||||
config :logger, level: :warning
|
config :logger, level: :warning
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ defmodule BDS do
|
|||||||
@moduledoc """
|
@moduledoc """
|
||||||
Entry point for the bDS rewrite domain.
|
Entry point for the bDS rewrite domain.
|
||||||
"""
|
"""
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ defmodule BDS.Application do
|
|||||||
opts = [strategy: :one_for_one, name: BDS.Supervisor]
|
opts = [strategy: :one_for_one, name: BDS.Supervisor]
|
||||||
Supervisor.start_link(children, opts)
|
Supervisor.start_link(children, opts)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ defmodule BDS.Repo do
|
|||||||
use Ecto.Repo,
|
use Ecto.Repo,
|
||||||
otp_app: :bds,
|
otp_app: :bds,
|
||||||
adapter: Ecto.Adapters.SQLite3
|
adapter: Ecto.Adapters.SQLite3
|
||||||
end
|
end
|
||||||
|
|||||||
2
mix.exs
2
mix.exs
@@ -34,4 +34,4 @@ defmodule BDS.MixProject do
|
|||||||
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"]
|
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"]
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ defmodule BDSTest do
|
|||||||
test "the repo module is configured" do
|
test "the repo module is configured" do
|
||||||
assert BDS.Repo.config()[:otp_app] == :bds
|
assert BDS.Repo.config()[:otp_app] == :bds
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
ExUnit.start()
|
ExUnit.start()
|
||||||
Ecto.Adapters.SQL.Sandbox.mode(BDS.Repo, :manual)
|
Ecto.Adapters.SQL.Sandbox.mode(BDS.Repo, :manual)
|
||||||
|
|||||||
Reference in New Issue
Block a user