Change lenght of md5 field

Change lenght of md5 field to be able to store crypt output (maxlenght should be 123 corresponding to http://php.net/manual/de/function.crypt.php)
balu-master
balu 11 years ago
parent b20b5ea640
commit 583f11ada4

@ -22,6 +22,7 @@
#
# Contributor(s):
# Daniel Triendl <daniel@pew.cc>
# balu
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
@ -346,7 +347,7 @@ if ( $action == "step2" ) {
$create_statement = " create table wbo ( username varchar(100), id varchar(65), collection varchar(100),
parentid varchar(65), predecessorid int, modified real, sortindex int,
payload text, payload_size int, ttl int, primary key (username,collection,id))";
$create_statement2 = " create table users ( username varchar(255), md5 varchar(64), primary key (username)) ";
$create_statement2 = " create table users ( username varchar(255), md5 varchar(124), primary key (username)) ";
$index1 = 'create index parentindex on wbo (username, parentid)';
$index2 = 'create index predecessorindex on wbo (username, predecessorid)';
$index3 = 'create index modifiedindex on wbo (username, collection, modified)';

Loading…
Cancel
Save