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

IEP check within schema #337

Open
katconnors opened this issue Jun 4, 2024 · 1 comment
Open

IEP check within schema #337

katconnors opened this issue Jun 4, 2024 · 1 comment
Assignees

Comments

@katconnors
Copy link
Contributor

-check inside the schema

Originally posted by @KCCPMG in #335 (review)

@KCCPMG
Copy link
Contributor

KCCPMG commented Jun 4, 2024

Add a check to the IEP table schema in initial_migrations to make sure that the end_date is always greater than or equal to the start_date. This issue should include two quick tests on the student router in student.test.ts, one on addIep and one on editIep, both to ensure that a an iep cannot be submitted when an end date is earlier than a start date, and that the correct postgres error is thrown if this is attempted.

@j-h-li j-h-li self-assigned this Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants