Skip to content

Commit

Permalink
docs: fix description about test database DEPENDENCIES
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvynl committed Jan 4, 2024
1 parent a89eebf commit bbab6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Extra settings explanation:
then only one connection should set `"managed": True`(the default value), other connections should set `"managed": False`.
So that test database will not be created multiple times.

If your managed database alias is not `s1r2`, `"DEPENDENCIES": ["s1r2"]` should be set to ensure the [creation order for test databases](https://docs.djangoproject.com/en/4.2/topics/testing/advanced/#controlling-creation-order-for-test-databases).
If your managed database alias is `s1r2` instead `default`, `"DEPENDENCIES": ["s1r2"]` should be set to ensure the [creation order for test databases](https://docs.djangoproject.com/en/4.2/topics/testing/advanced/#controlling-creation-order-for-test-databases).

Do not hardcode database name when you define replicated table or distributed table.
Because test database name is different from deployed database name.
Expand Down

0 comments on commit bbab6e8

Please sign in to comment.