From 65a98e425d81069029a7af4592cbbc00c4d8c4cb Mon Sep 17 00:00:00 2001 From: Sasha Krassovsky Date: Tue, 9 Jan 2024 14:40:53 -0800 Subject: [PATCH] Switch to bigint --- compute_tools/src/spec.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compute_tools/src/spec.rs b/compute_tools/src/spec.rs index da28ff91ea..3f6b88897f 100644 --- a/compute_tools/src/spec.rs +++ b/compute_tools/src/spec.rs @@ -763,8 +763,7 @@ END $$; let mut query = "CREATE SCHEMA IF NOT EXISTS neon_migration"; client.simple_query(query)?; - query = - "CREATE TABLE IF NOT EXISTS neon_migration.migration_id (id integer NOT NULL DEFAULT 0)"; + query = "CREATE TABLE IF NOT EXISTS neon_migration.migration_id (id bigint NOT NULL DEFAULT 0)"; client.simple_query(query)?; query = "INSERT INTO neon_migration.migration_id VALUES (0) ON CONFLICT DO NOTHING";