Look and fix some DB model issues
Open
@lw is already working on this.
Since Jun 21, 2013.
data_model
db
- Dominant language
- Python
- Stars
- 1k
- Forks
- 412
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 3
Description
I think some DB models (i.e. those classes in cms.db) have some strange fields definitions. For example the User.ip field is nullable but we usually use the '0.0.0.0' string to mean "no IP address assigned". Likewise User.email is almost never used, thus left blank, but it's not nullable. I suspect other such issues are around, even of other kinds. We should take a look at all models and fix the ones we find.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.