cms-dev / cms-dev/cms

Look and fix some DB model issues

Open
#87 19 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.