Actions
Bug #38274
openDocker Compose fails due to undefined tables in the database
Difficulty:
easy
Triaged:
No
Pull request:
Description
Docker Compose fails the app services during initialization due to missing or undefined tables in the Postgres database. I believe this is related to bug 34715 which has been closed.
When starting docker compose with the current compose file the app service exits with multiple errors that look like the following.
/home/foreman/vendor/ruby/3.0.0/gems/activerecord-6.1.7.10/lib/active_record/connection_adapters/postgresql/database_statements.rb:19:in `exec': PG::UndefinedTable: ERROR: relation "permissions" does not exist (ActiveRecord::StatementInvalid) LINE 8: WHERE a.attrelid = '"permissions"'::regclass
Actions