From f83bd5b1fed8406ac828992bafaea83ddd1b5f97 Mon Sep 17 00:00:00 2001 From: I515719 Date: Tue, 3 Nov 2026 16:16:11 +0800 Subject: [PATCH] fix(DM01-6386): change github_pull_request_id column type to bigint GitHub PR IDs are global integers that have grown beyond PostgreSQL's INTEGER limit (2,147,483,647), causing NumericValueOutOfRange errors when inserting new pull_request records from GitHub webhook events. --- src/db/migrations/00049.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/db/migrations/00049.sql diff --git a/src/db/migrations/00049.sql b/src/db/migrations/00049.sql new file mode 100644 index 00000000..786d51db --- /dev/null +++ b/src/db/migrations/00049.sql @@ -0,0 +1 @@ +ALTER TABLE pull_request ALTER COLUMN github_pull_request_id TYPE bigint;