Skip to content

Commit

Permalink
change tag upsert id
Browse files Browse the repository at this point in the history
  • Loading branch information
WeissP committed Apr 22, 2024
1 parent 2c22559 commit 3c0db17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Db/Command.hs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ instance Insertable TagEntry TagPost where
instance Upsertable TagEntry where
upsertInfo =
Upsert
{ index = teID
{ index = teName
, predicate = Nothing
, set = \new old -> new {teID = teID old}
, updateWhere = \_ _ -> lit True
Expand Down

0 comments on commit 3c0db17

Please sign in to comment.