Skip to content

Commit

Permalink
fix: Posgres Schema must be passed in database.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet committed Jul 4, 2024
1 parent dcf0cd6 commit 84a0765
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ development:
password: changeme
database: lago
port: 5432
schema_search_path: public
events:
<<: *default
host: db
Expand Down Expand Up @@ -73,6 +74,7 @@ production:
url: <%= ENV['DATABASE_URL'] %>
pool: <%= ENV.fetch('DATABASE_POOL', 10) %>
prepared_statements: <%= ENV.fetch('DATABASE_PREPARED_STATEMENTS', true) %>
schema_search_path: <%= ENV.fetch('POSTGRES_SCHEMA', 'public') %>
events:
<<: *default
url: <%= ENV['DATABASE_URL'] %>
Expand Down

0 comments on commit 84a0765

Please sign in to comment.