diff --git a/src/sql/0-run-first/1-sanitize.sql b/src/sql/0-run-first/1-sanitize.sql index ea12ea5..5e3cef6 100644 --- a/src/sql/0-run-first/1-sanitize.sql +++ b/src/sql/0-run-first/1-sanitize.sql @@ -1,4 +1,7 @@ DROP TABLE IF EXISTS tokens; +DROP INDEX IF EXISTS billing_refnum ON billing; + +CREATE INDEX billing_refnum ON billing (refNumber); -- noinspection SqlWithoutWhere UPDATE users SET hash = '';