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 }}
Repository navigation
3.0: lift MySQL's year-2038 limit (TIMESTAMP(6) to DATETIME(6)) #91
Every MySQL timestamp column uses TIMESTAMP(6) (migrations 001, 003–006, 011, 013, 015 and 017). It ends at 2038-01-19 03:14:07 UTC. Since 2.0, jobs scheduled later are rejected with an error (TIMESTAMP_MAX_SQL in src/queue/mysql.rs), so a job scheduled about 12 years out fails today.
The library already reads and writes UTC everywhere (UTC_TIMESTAMP(6)), so DATETIME(6) is safe. Add a 3.0 migration that converts the columns, keeping the migrations idempotent, and remove the 2038 checks. Converting rewrites the big tables, so the upgrade notes must say how long it takes. Test it with an upgrade from a 2.x database.
Activity
feat!: store MySQL times as DATETIME(6), lifting the year-2038 limit (#…
feat!: store MySQL times as DATETIME(6), lifting the year-2038 limit (#…