From e25802826f7beb1d7384685908eacccc51aab94a Mon Sep 17 00:00:00 2001 From: Peter Broadhurst Date: Tue, 26 Oct 2021 00:13:43 -0400 Subject: [PATCH] Fix PSQL migration with invalid AUTOINCREMENT Signed-off-by: Peter Broadhurst --- db/migrations/postgres/000032_create_tokenaccount_table.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrations/postgres/000032_create_tokenaccount_table.up.sql b/db/migrations/postgres/000032_create_tokenaccount_table.up.sql index ab6898a0e3..fe944a5264 100644 --- a/db/migrations/postgres/000032_create_tokenaccount_table.up.sql +++ b/db/migrations/postgres/000032_create_tokenaccount_table.up.sql @@ -2,7 +2,7 @@ BEGIN; DROP TABLE IF EXISTS tokenaccount; CREATE TABLE tokenaccount ( - seq INTEGER PRIMARY KEY AUTOINCREMENT, + seq SERIAL PRIMARY KEY, pool_protocol_id VARCHAR(1024) NOT NULL, token_index VARCHAR(1024), identity VARCHAR(1024) NOT NULL,