Add index for videoID.

This commit is contained in:
Kavin 2022-10-30 17:59:17 +00:00
parent 29d1d12dab
commit 53936cb9f9
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
3 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
DROP INDEX IF EXISTS "sponsor_video_id_idx";

View file

@ -0,0 +1 @@
CREATE INDEX sponsor_video_id_idx ON "sponsorTimes"("videoID");

View file

@ -1,7 +1,6 @@
// @generated automatically by Diesel CLI.
diesel::table! {
#[allow(non_snake_case)]
sponsorTimes (UUID) {
videoID -> Text,
startTime -> Float4,