Currently, an extension wrapper saves an entire activation command in the secret store.
Instead, we should use the LanguageContainerDeployer.get_language_definition function to save just the definition of the language used by the extension.
The get_activation_sql function should read the current language definitions from the database and merge into it all the extensions' definitions found in the secret store. The latter should override similar definitions in the database if they exist.
Two changes need to be made:
Currently, an extension wrapper saves an entire activation command in the secret store. Instead, we should use the
LanguageContainerDeployer.get_language_definition
function to save just the definition of the language used by the extension.The
get_activation_sql
function should read the current language definitions from the database and merge into it all the extensions' definitions found in the secret store. The latter should override similar definitions in the database if they exist.