Skip to content
This repository was archived by the owner on Mar 2, 2025. It is now read-only.

Commit 2b8f058

Browse files
committed
fix: replace Mix.Config with Config
1 parent 8b9619f commit 2b8f058

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
release: POOL_SIZE=2 mix ecto.migrate
1+
release: cd $HOME && POOL_SIZE=2 mix do ecto.migrate
22
web: NODE=$(mix phx.gen.secret) mix phx.server

config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use Mix.Config
1+
import Config
22

33
config :chat_api,
44
environment: Mix.env(),

config/dev.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use Mix.Config
1+
import Config
22

33
database_url = System.get_env("DATABASE_URL") || "ecto://postgres:postgres@localhost/chat_api_dev"
44

config/prod.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use Mix.Config
1+
import Config
22

33
database_url = System.get_env("DATABASE_URL") || "ecto://postgres:postgres@localhost/chat_api_dev"
44
pool_size = String.to_integer(System.get_env("POOL_SIZE") || "10")

config/test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use Mix.Config
1+
import Config
22

33
# Configure your database
44
#

0 commit comments

Comments
 (0)