Add PRIMARY KEY to tmp_keys for sanity checking

Signed-off-by: Graham <gpe@openrs2.org>
Graham 4 years ago
parent 3d09c4d90a
commit c06417bed7
  1. 2
      archive/src/main/kotlin/org/openrs2/archive/key/KeyImporter.kt

@ -105,7 +105,7 @@ public class KeyImporter @Inject constructor(
connection.prepareStatement(
"""
CREATE TEMPORARY TABLE tmp_keys (
key xtea_key NOT NULL
key xtea_key PRIMARY KEY NOT NULL
) ON COMMIT DROP
""".trimIndent()
).use { stmt ->

Loading…
Cancel
Save