From 2b1e72a42ee96226656fecbca569effdaa4f1cb3 Mon Sep 17 00:00:00 2001 From: Preva1l <149850944+ProdPreva1l@users.noreply.github.com> Date: Sat, 11 May 2024 04:06:34 +1000 Subject: [PATCH] fix: wrong type in PostgreSQL schema (#299) * Started impl for mongo * fix silly mistake with postgresql * fix silly mistake with postgresql --- common/src/main/resources/database/postgresql_schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/resources/database/postgresql_schema.sql b/common/src/main/resources/database/postgresql_schema.sql index cfb1cdd2..5b4b8ee9 100644 --- a/common/src/main/resources/database/postgresql_schema.sql +++ b/common/src/main/resources/database/postgresql_schema.sql @@ -15,7 +15,7 @@ CREATE TABLE IF NOT EXISTS "%user_data_table%" timestamp timestamp NOT NULL, save_cause varchar(32) NOT NULL, pinned boolean NOT NULL DEFAULT FALSE, - data longblob NOT NULL, + data bytea NOT NULL, PRIMARY KEY (version_uuid, player_uuid), FOREIGN KEY (player_uuid) REFERENCES "%users_table%" (uuid) ON DELETE CASCADE