-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ensure proper database permissions and migration setup
- Updated init_database.sh to grant necessary privileges to the PostgreSQL user. - Included ALTER USER and GRANT statements to allow the user to create databases and manage tables, sequences, and functions. - Added migration command in conftest.py to ensure Django migrations are applied before running tests. - Verified database connection and user permissions for successful test execution. - Changed database name to 'test_game_stats_db' in the configuration for running tests.
- Loading branch information
Showing
2 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters