Fix games_id_seq value in V10__variants.sql migration

Signed-off-by: Graham <gpe@openrs2.org>
Graham 1 year ago
parent e673f539af
commit 6b18461297
  1. 2
      archive/src/main/resources/org/openrs2/archive/migrations/V10__variants.sql

@ -38,7 +38,7 @@ INSERT INTO games (id, name)
SELECT id, name
FROM game_variants;
SELECT setval('game_variants_id_seq', MAX(id)) FROM game_variants;
SELECT setval('games_id_seq', MAX(id)) FROM game_variants;
ALTER TABLE game_variants
ADD COLUMN game_id INT NULL REFERENCES games (id),

Loading…
Cancel
Save