Merge pull request #56 from atridadl/dev

3.1.7
🚧 Added a room index on the votes table
This commit is contained in:
Atridad Lahiji 2023-10-20 21:14:09 -03:00 committed by GitHub
commit 2513c78ded
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -36,6 +36,7 @@ export const votes = sqliteTable(
(table) => {
return {
unq: unique().on(table.userId, table.roomId),
userVoteIdx: index("user_vote_idx").on(table.userId),
};
}
);
@ -61,7 +62,7 @@ export const logs = sqliteTable(
},
(table) => {
return {
userIdx: index("user_idx").on(table.userId),
userLogIdx: index("user_log_idx").on(table.userId),
};
}
);

View file

@ -1,6 +1,6 @@
{
"name": "sprintpadawan",
"version": "3.1.6",
"version": "3.1.7",
"description": "Plan. Sprint. Repeat.",
"private": true,
"scripts": {