mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:30:11 +01:00
extended the password column in the user table
This commit is contained in:
parent
6ca80b72b0
commit
8bf9fb318b
@ -191,7 +191,7 @@ create table if not exists `user` (
|
|||||||
`uid` int unsigned not null primary key,
|
`uid` int unsigned not null primary key,
|
||||||
`username` char(64) not null unique,
|
`username` char(64) not null unique,
|
||||||
`realname` char(64) default null,
|
`realname` char(64) default null,
|
||||||
`password` char(48) default null,
|
`password` char(128) default null,
|
||||||
`domain` char(64) default null,
|
`domain` char(64) default null,
|
||||||
`dn` char(255) default '*',
|
`dn` char(255) default '*',
|
||||||
`isadmin` tinyint default 0
|
`isadmin` tinyint default 0
|
||||||
|
2
util/db-upgrade-0.19-vs-0.20.sql
Normal file
2
util/db-upgrade-0.19-vs-0.20.sql
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
alter table `user` change column `password` `password` char(128) default null;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user