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

Add non-null constraints to DB columns #8

Open
lumpidu opened this issue Sep 8, 2022 · 0 comments
Open

Add non-null constraints to DB columns #8

lumpidu opened this issue Sep 8, 2022 · 0 comments
Assignees

Comments

@lumpidu
Copy link
Contributor

lumpidu commented Sep 8, 2022

Some columns of the DB should have more constraints like e.g. non-null, so that we don't need to do defensive programming for every parameter that could possibly be null. It also then needs to be done for DB migrations, if no default value is given.

The columns would benefit from that:

  • name
  • duration_val
  • status
  • voice
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

2 participants