Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Startup script does not always perform migrations #2246

Merged
merged 2 commits into from
Jul 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: Posgres Schema must be passed in database.yml
  • Loading branch information
vincent-pochet committed Jul 4, 2024
commit 456534039dc35f83edc5add57dadd482ee8fe478
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