audiobookshelf/test/server/scripts
Kevin Gatera 182ae807bd
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 18:26:19 -04:00
..
migrateSqliteToPostgres.test.js harden postgres migration integer safety 2026-08-02 18:26:19 -04:00