Dissociate database update: use a mechanism of SQL instructions in downloadable files, that can be run at any time with a command.
Save the last version of the plugin on the database, with a mutex to prevent executing same update instructions several times.
Allow to update only the local plugin, without the database, typically to update config.yml.
Maybe add the support of config.yml on the update website tool (to see all new configuration settings added).
Dissociate database update: use a mechanism of SQL instructions in downloadable files, that can be run at any time with a command. Save the last version of the plugin on the database, with a mutex to prevent executing same update instructions several times. Allow to update only the local plugin, without the database, typically to update config.yml. Maybe add the support of config.yml on the update website tool (to see all new configuration settings added).