(data): Update version and index.

This commit is contained in:
2022-01-19 14:19:38 +02:00
parent 0948f29e76
commit 7fad03ecd9
2 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ CREATE TABLE IF NOT EXISTS topgg(
userid BIGINT NOT NULL,
boostedTimestamp TIMESTAMPTZ NOT NULL
);
CREATE INDEX topgg_member ON topgg (userid);
CREATE INDEX topgg_userid_timestamp ON topgg (userid, boostedTimestamp);
-- }}}
DROP FUNCTION close_study_session(_guildid BIGINT, _userid BIGINT);
@@ -73,4 +73,4 @@ AS $$
$$ LANGUAGE PLPGSQL;
-- }}}
INSERT INTO VersionHistory (version, author) VALUES (8, 'v8-v9 migration');
INSERT INTO VersionHistory (version, author) VALUES (9, 'v8-v9 migration');