From 50d1c0f2f82c4de179f36fe3bbcd7ea86a408feb Mon Sep 17 00:00:00 2001 From: Menci Date: Tue, 6 Nov 2018 21:10:34 +0800 Subject: [PATCH] Add '`' to SQLs in README --- README.en.md | 12 ++++++------ README.md | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.en.md b/README.en.md index c46096d..44d5be3 100644 --- a/README.en.md +++ b/README.en.md @@ -19,12 +19,12 @@ ALTER TABLE `syzoj`.`judge_state` ADD INDEX `judge_state_is_public` (`id`, `is_p Who upgrade from a commit BEFORE [26d66ceef24fbb35481317453bcb89ead6c69076](https://github.com/syzoj/syzoj/commit/26d66ceef24fbb35481317453bcb89ead6c69076) (Nov 5, 2018) **MUST** perform the following SQL on the database. ```sql -ALTER TABLE contest_player CHANGE score_details score_details JSON NOT NULL; -ALTER TABLE contest_ranklist CHANGE ranking_params ranking_params JSON NOT NULL; -ALTER TABLE contest_ranklist CHANGE ranklist ranklist JSON NOT NULL; -ALTER TABLE custom_test CHANGE result result JSON NOT NULL; -ALTER TABLE judge_state CHANGE compilation compilation JSON NOT NULL; -ALTER TABLE judge_state CHANGE result result JSON NOT NULL; +ALTER TABLE `contest_player` CHANGE `score_details` `score_details` JSON NOT NULL; +ALTER TABLE `contest_ranklist` CHANGE `ranking_params` `ranking_params` JSON NOT NULL; +ALTER TABLE `contest_ranklist` CHANGE `ranklist` `ranklist` JSON NOT NULL; +ALTER TABLE `custom_test` CHANGE `result` `result` JSON NOT NULL; +ALTER TABLE `judge_state` CHANGE `compilation` `compilation` JSON NOT NULL; +ALTER TABLE `judge_state` CHANGE `result` `result` JSON NOT NULL; ``` Who upgraded from a commit BEFORE [84b9e2d7b51e4ed3ab426621b66cf5ae9e1e1c23](https://github.com/syzoj/syzoj/commit/84b9e2d7b51e4ed3ab426621b66cf5ae9e1e1c23) (Nov 6, 2018) **MUST** perform the following SQL on the database. diff --git a/README.md b/README.md index af1cdf4..ad3991c 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,12 @@ ALTER TABLE `syzoj`.`judge_state` ADD INDEX `judge_state_is_public` (`id`, `is_p 从该 commit [26d66ceef24fbb35481317453bcb89ead6c69076](https://github.com/syzoj/syzoj/commit/26d66ceef24fbb35481317453bcb89ead6c69076)(2018 年 11 月 5 日)前更新的用户**必须**在其数据库上执行以下 SQL 语句。 ```sql -ALTER TABLE contest_player CHANGE score_details score_details JSON NOT NULL; -ALTER TABLE contest_ranklist CHANGE ranking_params ranking_params JSON NOT NULL; -ALTER TABLE contest_ranklist CHANGE ranklist ranklist JSON NOT NULL; -ALTER TABLE custom_test CHANGE result result JSON NOT NULL; -ALTER TABLE judge_state CHANGE compilation compilation JSON NOT NULL; -ALTER TABLE judge_state CHANGE result result JSON NOT NULL; +ALTER TABLE `contest_player` CHANGE `score_details` `score_details` JSON NOT NULL; +ALTER TABLE `contest_ranklist` CHANGE `ranking_params` `ranking_params` JSON NOT NULL; +ALTER TABLE `contest_ranklist` CHANGE `ranklist` `ranklist` JSON NOT NULL; +ALTER TABLE `custom_test` CHANGE `result` `result` JSON NOT NULL; +ALTER TABLE `judge_state` CHANGE `compilation` `compilation` JSON NOT NULL; +ALTER TABLE `judge_state` CHANGE `result` `result` JSON NOT NULL; ``` 从该 commit [84b9e2d7b51e4ed3ab426621b66cf5ae9e1e1c23](https://github.com/syzoj/syzoj/commit/84b9e2d7b51e4ed3ab426621b66cf5ae9e1e1c23)(2018 年 11 月 6 日)前更新的用户**必须**在其数据库上执行以下 SQL 语句。