Production Schema Step 6: Time and History

Audit every date and time column in your schema: is it an instant or a date, and is it stored correctly? Convert anything wrong. Then decide, per table, whether you need history, and model it where the answer is yes. If you use soft deletion anywhere, add a partial unique index so the constraints still work, and write down every query that must now exclude deleted rows. That list is the cost you accepted.

SANKOFA SANDBOX
loading editor…
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 7: Query Plans for Real →