Skip to content

Conversation

@jycor
Copy link
Contributor

@jycor jycor commented Jul 17, 2025

Similar to decimal types, MySQL allows differing precisions with time types to have foreign key constraints, but zero padding prevents anything from being inserted.

Additionally, timestamps and datetimes can have foreign key constraints referencing each other.

@jycor jycor merged commit 75c0b19 into main Jul 17, 2025
8 of 9 checks passed
@jycor jycor deleted the james/time branch July 17, 2025 20:28
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

Successfully merging this pull request may close these issues.

3 participants