Map mediawiki password field in mwdb.py.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Fri, 29 Nov 2019 19:25:05 +0000 (19:25 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Fri, 29 Nov 2019 19:25:05 +0000 (19:25 +0000)
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2839 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrpylib/mwdb.py

index 4544caedaae5bca889fdb8b6c2aa149cc5f6fca1..e0682db1d6c01fd547d5aaa275257d35efbdd32c 100644 (file)
@@ -66,7 +66,7 @@ def user_table(metadata):
     Column("user_id", types.Integer, primary_key=True),
     Column("user_name", types.Unicode(255), nullable=False), # varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL
     Column("user_real_name", types.Unicode(255), nullable=False), # varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL
-    # "user_password"
+    Column("user_password", types.UnicodeText, nullable=False),  # tinyblob
     # "user_newpassword"
     # "user_newpass_time"
     Column("user_email", types.Unicode, nullable=False), # tinytext NOT NULL