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

Switch to PostgreSQL #11

Closed
ineshbose opened this issue Nov 7, 2021 · 3 comments · Fixed by #122
Closed

Switch to PostgreSQL #11

ineshbose opened this issue Nov 7, 2021 · 3 comments · Fixed by #122
Assignees
Labels
enhancement New feature or request
Projects

Comments

@ineshbose
Copy link
Owner

Is your feature request related to a problem?

Provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Currently and by default, Django uses SQLite to keep a database which is also just file based. The most preferred and robust system for Django is PostgreSQL.

Describe the solution you'd like

Please provide a clear and concise description of what you want to happen.

Change values in settings.py to switch to PostgreSQL.

Describe alternatives you've considered

Please provide a clear and concise description of any alternative solutions or features you've considered.

Other databases like MySQL, MongoDB, etc.

@ineshbose ineshbose added the enhancement New feature or request label Nov 7, 2021
@ineshbose ineshbose added this to To do in Block 2 via automation Nov 7, 2021
@ineshbose
Copy link
Owner Author

This would be best to implement once the models themselves are also in place since it's easier to reset database with SQLite (just by deleting db.sqlite3). With that said, that also means to avoid using PostgreSQL special fields like ArrayField and just ManyToMany or ManyToOne.

@ineshbose ineshbose added this to To do in Block 3 via automation Nov 12, 2021
@ineshbose ineshbose removed this from To do in Block 2 Nov 12, 2021
@ineshbose ineshbose removed this from To do in Block 3 Feb 4, 2022
@ineshbose ineshbose added this to To do in Block 4 via automation Feb 4, 2022
@ineshbose
Copy link
Owner Author

/cib

Block 4 automation moved this from To do to Supervisor review Feb 26, 2022
@github-actions github-actions bot reopened this Feb 26, 2022
Block 4 automation moved this from Supervisor review to In progress Feb 26, 2022
@github-actions
Copy link

@github-actions github-actions bot mentioned this issue Feb 26, 2022
@github-actions github-actions bot moved this from In progress to Code review in Block 4 Feb 26, 2022
Block 4 automation moved this from Code review to Supervisor review Feb 26, 2022
@ineshbose ineshbose moved this from Supervisor review to Done in Block 4 Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Block 4
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant