1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

Handle existing sql rows

This commit is contained in:
tituspijean 2021-05-01 15:44:21 +02:00
parent 95ed212c69
commit 15c63e7d8a
2 changed files with 4 additions and 2 deletions

View file

@ -12,4 +12,5 @@ INSERT INTO `settings` (`key`, `value`) VALUES
('tituspijean-auth-ldap.use_ssl', ''),
('tituspijean-auth-ldap.use_tls', ''),
('tituspijean-auth-ldap.user_mail', 'mail'),
('tituspijean-auth-ldap.user_username', 'uid');
('tituspijean-auth-ldap.user_username', 'uid')
ON DUPLICATE KEY UPDATE value = VALUES(value);

View file

@ -3,4 +3,5 @@ REPLACE INTO `settings` (`key`, `value`) VALUES
('mail_encryption', 'ssl'),
('mail_from', '$app@$domain'),
('mail_host', 'localhost'),
('mail_port', '587');
('mail_port', '587')
ON DUPLICATE KEY UPDATE value = VALUES(value);