diff --git a/hwe/sql/schema.sql b/hwe/sql/schema.sql index 6328d6a9..7cec1362 100644 --- a/hwe/sql/schema.sql +++ b/hwe/sql/schema.sql @@ -142,7 +142,7 @@ CREATE TABLE `nation_turn` ( `arg` TEXT NULL DEFAULT NULL COLLATE 'utf8mb4_bin', `brief` TEXT NULL DEFAULT NULL, PRIMARY KEY (`id`), - UNIQUE INDEX `nation` (`nation_id`, `officer_level`, `turn_idx`) + UNIQUE INDEX `nation` (`nation_id`, `officer_level`, `turn_idx`), CONSTRAINT `json` CHECK (json_valid(`arg`)) ) COLLATE = 'utf8mb4_general_ci' ENGINE = Aria; ##############################