about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-03-28 21:12:27 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-03-28 21:12:27 -0400
commit00579b0f77a05530a4ac705f5050944f9962eabb (patch)
tree1e4a7becc8c04544ce27eab99468c915e234f687
parent54c8a082aa513cb10860e16a74b7f2e7ae638b2b (diff)
downloadlunatic-00579b0f77a05530a4ac705f5050944f9962eabb.tar.gz
lunatic-00579b0f77a05530a4ac705f5050944f9962eabb.tar.bz2
lunatic-00579b0f77a05530a4ac705f5050944f9962eabb.zip
Added db index for images table
-rw-r--r--schema.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/schema.sql b/schema.sql index c4724f8..373bd55 100644 --- a/schema.sql +++ b/schema.sql
@@ -31,3 +31,5 @@ CREATE TABLE `images` (
31 `game_id` INTEGER NOT NULL, 31 `game_id` INTEGER NOT NULL,
32 `filename` VARCHAR(255) NOT NULL 32 `filename` VARCHAR(255) NOT NULL
33); 33);
34
35CREATE INDEX `game_images` ON `images`(`game_id`,`image_id`);