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

Production environ uses postgres where as test environ uses sqlite #58

Open
4slimbu opened this issue May 22, 2020 · 0 comments
Open

Production environ uses postgres where as test environ uses sqlite #58

4slimbu opened this issue May 22, 2020 · 0 comments

Comments

@4slimbu
Copy link
Owner

4slimbu commented May 22, 2020

An issue occured where all tests passed using sqlite but failed on production.
Friend.is_friend == 1 in one query passed for sqlite but failed for postgres due to boolean field constraint.

To prevent such issues. Production and Test environ should be as similar as possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant