Skip to content

Commit

Permalink
Do not need to update this
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba committed May 10, 2022
1 parent 2c329a4 commit f1765f2
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions server/src/repo/Repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,10 @@ delete from entities where "id" = $1;
update entities set
"medium_id" = $2,
"icon_id" = $3,
"type" = $4,
"mime_type" = $5,
"width" = $6,
"height" = $7,
"duration" = $8
"mime_type" = $4,
"width" = $5,
"height" = $6,
"duration" = $7
where
"id" = $1
`;
Expand All @@ -179,7 +178,6 @@ where
entity.id,
entity.mediumID,
entity.iconID,
'image',
entity.mimeType,
entity.width,
entity.height,
Expand All @@ -192,7 +190,6 @@ where
entity.id,
null,
entity.iconID,
'video',
entity.mimeType,
entity.width,
entity.height,
Expand All @@ -204,7 +201,6 @@ where
entity.id,
null,
entity.iconID,
'audio',
entity.mimeType,
null,
null,
Expand Down

0 comments on commit f1765f2

Please sign in to comment.