From 1d08fda665782d8ae71e4bcbf34a1915b5d9bf63 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 14 Aug 2023 09:16:01 +0100 Subject: [PATCH] Use BIGSERIAL instead of SERIAL --- src/main/resources/changelog/version/0-1-init.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/changelog/version/0-1-init.sql b/src/main/resources/changelog/version/0-1-init.sql index 3abf26f..eef4ce1 100644 --- a/src/main/resources/changelog/version/0-1-init.sql +++ b/src/main/resources/changelog/version/0-1-init.sql @@ -1,5 +1,5 @@ CREATE TABLE IF NOT EXISTS users ( - id SERIAL NOT NULL, + id BIGSERIAL NOT NULL, password TEXT NULL, session_id VARCHAR(36) NULL, username VARCHAR(24) NULL UNIQUE, @@ -35,7 +35,7 @@ CREATE INDEX IF NOT EXISTS pubsub_id_idx ON pubsub (id ASC); --rollback DROP TABLE IF EXISTS pubsub; CREATE TABLE IF NOT EXISTS playlists ( - id SERIAL NOT NULL, + id BIGSERIAL NOT NULL, name VARCHAR(200) NULL, playlist_id UUID NOT NULL UNIQUE DEFAULT gen_random_uuid(), short_description VARCHAR(100) NULL,