Add migrations

This commit is contained in:
Tomaž Jerman
2019-08-29 13:35:28 +02:00
parent 7a8212b879
commit b63f391cb8
2 changed files with 6 additions and 1 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,5 @@
/* migrates existing credentials */
UPDATE sys_credentials SET kind = 'google' WHERE kind = 'gplus';
/* migrates existing settings. */
UPDATE sys_settings SET name = REPLACE(name, '.gplus.', '.google.') WHERE name LIKE 'auth.external.providers.gplus.%';