Map mediawiki password field in mwdb.py.
[philipp/winterrodeln/wrpylib.git] / 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