From 4aacaae1ec584136a8776bcbf7a7de31aff7999b Mon Sep 17 00:00:00 2001 From: atridadl Date: Fri, 20 Oct 2023 21:10:58 -0300 Subject: [PATCH] Schema updates --- app/_lib/schema.ts | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/_lib/schema.ts b/app/_lib/schema.ts index ff2eb7c..fb96943 100644 --- a/app/_lib/schema.ts +++ b/app/_lib/schema.ts @@ -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), }; } ); diff --git a/package.json b/package.json index b8709b6..c514e93 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sprintpadawan", - "version": "3.1.6", + "version": "3.1.7", "description": "Plan. Sprint. Repeat.", "private": true, "scripts": {