aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/update/rev001341-1-auth.sql
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/update/rev001341-1-auth.sql')
-rw-r--r--mayor-orig/update/rev001341-1-auth.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/mayor-orig/update/rev001341-1-auth.sql b/mayor-orig/update/rev001341-1-auth.sql
new file mode 100644
index 00000000..0affd9ce
--- /dev/null
+++ b/mayor-orig/update/rev001341-1-auth.sql
@@ -0,0 +1,4 @@
+-- Auth adatbázis módosítása --
+
+alter table accounts modify userPassword varbinary(40);
+update accounts set userPassword=sha(decode(userPassword,'%MYSQL_ENCODE_STR%'));