Add index to speed up the XTEA key brute force command

Signed-off-by: Graham <gpe@openrs2.org>
pull/132/head
Graham 3 years ago
parent ea63769fe9
commit 995cdbd1b7
  1. 1
      archive/src/main/resources/org/openrs2/archive/migrations/V1__init.sql

@ -43,6 +43,7 @@ CREATE TABLE containers (
);
CREATE INDEX ON containers USING HASH (crc32);
CREATE INDEX ON containers (id) WHERE encrypted AND key_id IS NULL;
CREATE TABLE brute_force_iterator (
last_container_id BIGINT NULL,

Loading…
Cancel
Save