summaryrefslogtreecommitdiff
path: root/setup/upgrade/0.9.9.2/lowercase_emails.php
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-11-17 20:45:02 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-11-17 20:45:02 +0100
commit8df3db566a3a937b45ebf11adb90d265e6f5e2d4 (patch)
tree4d541098d751d5a9acf8c12f6fb9f308ace066ac /setup/upgrade/0.9.9.2/lowercase_emails.php
downloadflyspray-8df3db566a3a937b45ebf11adb90d265e6f5e2d4.tar.xz
initial checking of customized version 1.0rc9
Diffstat (limited to 'setup/upgrade/0.9.9.2/lowercase_emails.php')
-rw-r--r--setup/upgrade/0.9.9.2/lowercase_emails.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup/upgrade/0.9.9.2/lowercase_emails.php b/setup/upgrade/0.9.9.2/lowercase_emails.php
new file mode 100644
index 0000000..24fd28e
--- /dev/null
+++ b/setup/upgrade/0.9.9.2/lowercase_emails.php
@@ -0,0 +1,6 @@
+<?php
+
+$db->query('UPDATE {users} SET email_address = LOWER(email_address), jabber_id = LOWER(jabber_id)');
+
+?>
+