From 49b153a65190ddcd01bdba306ddaeadc2f0b8946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=85=E6=88=BF?= Date: Tue, 20 Jan 2026 18:04:26 +0800 Subject: [PATCH] fix(db): add referee_type column to martial_judge_invite table Add Flyway migration V7 to add referee_type field for storing referee type (1-Chief Judge, 2-Judge, 3-General Judge) in invite records. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- .../db/migration/V7__add_judge_invite_referee_type.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/main/resources/db/migration/V7__add_judge_invite_referee_type.sql diff --git a/src/main/resources/db/migration/V7__add_judge_invite_referee_type.sql b/src/main/resources/db/migration/V7__add_judge_invite_referee_type.sql new file mode 100644 index 0000000..794cf15 --- /dev/null +++ b/src/main/resources/db/migration/V7__add_judge_invite_referee_type.sql @@ -0,0 +1,3 @@ +-- Add referee_type column to martial_judge_invite table +-- This field stores the referee type: 1-Chief Judge, 2-Judge, 3-General Judge +ALTER TABLE martial_judge_invite ADD COLUMN referee_type INT DEFAULT NULL COMMENT '裁判类型:1-主裁判,2-裁判员,3-总裁';