diff --git a/locales/en.json b/locales/en.json index b45739149..903aa325a 100644 --- a/locales/en.json +++ b/locales/en.json @@ -331,6 +331,7 @@ "migration_description_0009_decouple_regenconf_from_services": "Decouple the regen-conf mechanism from services", "migration_description_0010_migrate_to_apps_json": "Remove deprecated appslists and use the new unified 'apps.json' list instead", "migration_description_0011_setup_group_permission": "Setup user group and setup permission for apps and services", + "migration_description_0012_postgresql_password_to_md5_authentication": "Force postgresql authentication to use md5 for local connections", "migration_0003_backward_impossible": "The stretch migration cannot be reverted.", "migration_0003_start": "Starting migration to Stretch. The logs will be available in {logfile}.", "migration_0003_patching_sources_list": "Patching the sources.lists…", diff --git a/src/yunohost/data_migrations/0011_postgresql_password_to_md5_authentication.py b/src/yunohost/data_migrations/0012_postgresql_password_to_md5_authentication.py similarity index 91% rename from src/yunohost/data_migrations/0011_postgresql_password_to_md5_authentication.py rename to src/yunohost/data_migrations/0012_postgresql_password_to_md5_authentication.py index 19f6ada69..5d36b3e23 100644 --- a/src/yunohost/data_migrations/0011_postgresql_password_to_md5_authentication.py +++ b/src/yunohost/data_migrations/0012_postgresql_password_to_md5_authentication.py @@ -1,7 +1,7 @@ import glob import re from yunohost.tools import Migration -from moulinette.utils.filesystem import chown +from moulinette.utils.filesystem import read_file, write_to_file class MyMigration(Migration):