Skip to content

Ex. 2 Task 5: Check Constraint Violation #12

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

Open
feaselkl opened this issue Jan 17, 2025 · 0 comments
Open

Ex. 2 Task 5: Check Constraint Violation #12

feaselkl opened this issue Jan 17, 2025 · 0 comments

Comments

@feaselkl
Copy link

There is a check constraint in Postgres, ck_checkdate, that requires the check-in date and check-out date be greater than or equal to the current date, and for check-in date to be before check-out date. At this point in time (2025-01-17), the information learners should enter on the page will fail because the check-in and check-out dates are both before the current date.

I'd recommend revising the instructions in the Description and in Step 7 to specify a check-in date 3 days from now (for example) and a check-out date 10 days from now. That will ensure that new cohorts of learners will not hit the check constraint error.

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

1 participant