bug: three column unique index no change never detected

ex:
uniqueReactPerPost: unique('post_id_reaction_user_id').on(
postId,
reaction,
reactorId,
),
uniqueReactPerPost: unique('post_id_reaction_user_id').on(
postId,
reaction,
reactorId,
),
the above index will be ran, but if you run it again, it'll prompt you to truncate the table, and if you chose not to, it'll run sucessfully but will drop -> then recreates. orm latest, pg 15
3 Replies
eatmoose
eatmooseOP2y ago
bump bump bump
Angelelz
Angelelz2y ago
Sounds like a drizzle-kit issue. CC @Andrew Sherman
eatmoose
eatmooseOP2y ago
bump

Did you find this page helpful?