diff --git a/docs/docs/develop/contributing.md b/docs/docs/develop/contributing.md index bca21b483a..f7d0176716 100644 --- a/docs/docs/develop/contributing.md +++ b/docs/docs/develop/contributing.md @@ -188,6 +188,19 @@ To see all the available options: invoke dev.test --help ``` +#### Database Permission Issues + +For local testing django creates a test database and removes it after testing. If you encounter permission issues while running unit test, ensure that your database user has permission to create new databases. + +For example, in PostgreSQL, run: + +``` +alter user myuser createdb; +``` + +!!! info "Devcontainer" + The default database container which is provided in the devcontainer is already setup with the required permissions + ## Code Style Code style is automatically checked as part of the project's CI pipeline on GitHub. This means that any pull requests which do not conform to the style guidelines will fail CI checks. diff --git a/src/backend/InvenTree/.config.yaml.swp b/src/backend/InvenTree/.config.yaml.swp new file mode 100644 index 0000000000..c9776e1c01 Binary files /dev/null and b/src/backend/InvenTree/.config.yaml.swp differ