mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
f4ce2c2bd0
A vacation day can be taken as a half day, so what a year carries into the next can end in a half. vacay_user_years.carried_over was an INTEGER column: SQLite stored 29.5 as a REAL, Postgres (bigint) rounded it to 30, and the move refused such a SQLite value. The column becomes REAL on SQLite (a table rebuild that keeps every id and the AUTOINCREMENT counter) and double precision on Postgres, through the first migration after the Postgres baseline's cut. VACAY-046 books a half day and reads the carry-over on both engines.