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. // @generated automatically by Diesel CLI.
diesel::table! { diesel::table! {
#[allow(non_snake_case)]
sponsorTimes (UUID) { sponsorTimes (UUID) {
videoID -> Text, videoID -> Text,
startTime -> Float4, startTime -> Float4,