diff --git a/tutor/commands/upgrade/common.py b/tutor/commands/upgrade/common.py index ba3797e124..7a54995f80 100644 --- a/tutor/commands/upgrade/common.py +++ b/tutor/commands/upgrade/common.py @@ -61,6 +61,11 @@ def upgrade_from_redwood(context: click.Context, config: Config) -> None: """, ) + fmt.echo_alert( + """It is recommended to upgrade your character set and collation of the MySQL database after upgrading to Sumac. +You can use the convert-mysql-utf8mb4-charset do job to upgrade the collation and character set. You can find more details regarding the command at https://docs.tutor.edly.io/local.html#changing-the-mysql-charset-and-collation""" + ) + def get_mongo_upgrade_parameters( docker_version: str, compatibility_version: str diff --git a/tutor/commands/upgrade/compose.py b/tutor/commands/upgrade/compose.py index cdb3304aa8..534d9f1ad8 100644 --- a/tutor/commands/upgrade/compose.py +++ b/tutor/commands/upgrade/compose.py @@ -226,10 +226,6 @@ def upgrade_from_quince(context: click.Context, config: Config) -> None: upgrade_mongodb(context, config, "5.0.26", "5.0") upgrade_mongodb(context, config, "6.0.14", "6.0") upgrade_mongodb(context, config, "7.0.7", "7.0") - fmt.echo_alert( - """It is recommended to upgrade your character set and collation of the MySQL database after upgrading to Redwood. -You can use the convert-mysql-utf8mb4-charset do job to upgrade the collation and character set. You can find more details regarding the command at https://docs.tutor.edly.io/local.html#changing-the-mysql-charset-and-collation""" - ) def upgrade_mongodb(