Skip to content

Commit

Permalink
fix: update fs_folders schema to change parent_folder type from Strin…
Browse files Browse the repository at this point in the history
…g to UUID
  • Loading branch information
amuwal committed Dec 18, 2024
1 parent 78135e5 commit 6413f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion packages/api/scripts/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6413f07

Please sign in to comment.