You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
According to the MySQL docs: The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC.
test-utils however is not aware of this limitation as this information is lost in the Prisma schema (timestamp is mapped to Prisma type DateTime).
A potential solution in test-utils can be to cap all date time types to the smaller date time range of all the underlying types (in my understanding that is indeed timestamp)
I don't know how Jan was able to make Sakila run, in my automated tests, it fails on the generate step. The underlying field there is timestamp but the error is slightly different. Maybe it morphed.
The text was updated successfully, but these errors were encountered:
According to the MySQL docs:
The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC.
test-utils
however is not aware of this limitation as this information is lost in the Prisma schema (timestamp
is mapped to Prisma typeDateTime
).A potential solution in
test-utils
can be to cap all date time types to the smaller date time range of all the underlying types (in my understanding that is indeed timestamp)Internal notes:
Test utils database(s) affected:
Related issue: #20
I don't know how Jan was able to make Sakila run, in my automated tests, it fails on the generate step. The underlying field there is
timestamp
but the error is slightly different. Maybe it morphed.The text was updated successfully, but these errors were encountered: