audiobookshelf/test/server/scripts
Kevin Gatera 8e6a1d57d7
harden postgres migration integer safety
Before, integer preflight accepted values through JavaScript Number and the migration could truncate a target without an explicit confirmation.

After, integer bounds and bigint strings are checked without precision loss, and destructive writes require ALLOW_DESTRUCTIVE_TARGET=true.
2026-08-02 22:35:01 -04:00
..
migrateSqliteToPostgres.test.js harden postgres migration integer safety 2026-08-02 22:35:01 -04:00