Schema updates

This commit is contained in:
Atridad Lahiji 2023-10-20 21:10:58 -03:00
parent c0085ea597
commit 4aacaae1ec
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

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

View file

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