diff --git a/packages/api/prisma/schema.prisma b/packages/api/prisma/schema.prisma index 1c71a733f..d710d0a9b 100644 --- a/packages/api/prisma/schema.prisma +++ b/packages/api/prisma/schema.prisma @@ -1298,7 +1298,7 @@ model fs_folders { size BigInt? name String? description String? - parent_folder String? + parent_folder String? @db.Uuid remote_id String? created_at DateTime @db.Timestamptz(6) modified_at DateTime @db.Timestamptz(6) diff --git a/packages/api/scripts/init.sql b/packages/api/scripts/init.sql index 36258864b..d64ddc72b 100644 --- a/packages/api/scripts/init.sql +++ b/packages/api/scripts/init.sql @@ -819,7 +819,7 @@ CREATE TABLE fs_folders "size" bigint NULL, name text NULL, description text NULL, - parent_folder text NULL, + parent_folder uuid NULL, remote_id text NULL, created_at timestamp with time zone NOT NULL, modified_at timestamp with time zone NOT NULL,