From 12e0ba00106b359cf7649ff374daafdb6b5dc6bf Mon Sep 17 00:00:00 2001 From: "Benjamin A. Shelton" Date: Wed, 4 Nov 2026 13:07:48 -0700 Subject: [PATCH] Add index. --- migrations/sqlite/0004_library.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/migrations/sqlite/0004_library.sql b/migrations/sqlite/0004_library.sql index d1562ac..fd4c2c6 100644 --- a/migrations/sqlite/0004_library.sql +++ b/migrations/sqlite/0004_library.sql @@ -37,4 +37,5 @@ create table library_queue( foreign key (bookid) references library_books(id), foreign key (userid) references users(id) -); \ No newline at end of file +); +create index library_queue_bookid_idx on library_queue (bookid); \ No newline at end of file