Add index to speed up the XTEA key brute force command

Signed-off-by: Graham <gpe@openrs2.org>
bzip2
Graham 4 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