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 database checks #13

Open
wikku opened this issue Oct 6, 2018 · 1 comment
Open

Add database checks #13

wikku opened this issue Oct 6, 2018 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@wikku
Copy link
Collaborator

wikku commented Oct 6, 2018

The timetable app assumes some things about the database that aren't stated or checked anywhere,
like a teacher can have only one lesson at a time, Period numbers should be consecutive integers

@wikku wikku added the enhancement New feature or request label Oct 6, 2018
@opti0
Copy link
Contributor

opti0 commented Sep 12, 2022

Things that should be checked:

  • period number as consecutive integers >=0
  • teacher can have only one lesson at a time
  • no or one lesson in room at a time
  • an absent class cannot have a substitute

@opti0 opti0 added this to the v0.5 milestone Sep 12, 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
None yet
Development

No branches or pull requests

2 participants