When neutralizing the database we should disactivate all fetchmail servers to prevent data loss (ex. when using POP) opw-2758998 closes odoo/odoo#133199 X-original-commit: f1871890b79ee45c3addf467e544a06e534d1e9e Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by: Xavier Alt (xal) <xal@odoo.com>
7 lines
157 B
SQL
7 lines
157 B
SQL
-- deactivate mail template
|
|
UPDATE mail_template
|
|
SET mail_server_id = NULL;
|
|
-- deactivate fetchmail server
|
|
UPDATE fetchmail_server
|
|
SET active = false;
|