Fix Model Issues & wrong id types in Database migration #16

Merged
SoXX merged 2 commits from fix/pool-model into main 2024-10-15 13:21:33 +00:00
Showing only changes of commit d5f0d3ee8c - Show all commits

View File

@ -0,0 +1,13 @@
-- +migrate Up
ALTER TABLE "PostReference"
ALTER COLUMN post_id TYPE CHAR(25),
ALTER COLUMN source_id TYPE CHAR(25);
ALTER TABLE post_tags
ALTER COLUMN post_id TYPE CHAR(25);
ALTER TABLE "UserFavorites"
ALTER COLUMN post_id TYPE CHAR(25);
ALTER TABLE "UserSource"
ALTER COLUMN source_id TYPE CHAR(25);