Renaming database primary key

This commit is contained in:
2021-04-23 21:20:02 +10:00
parent 8ffa64a71d
commit e141583f91
8 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const route = async (req, res) => {
hash: hash
}, {
where: {
id: req.user.id
index: req.user.index
}
});