mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
- fixed syntax error
- corrected insert statement for inserting initial users
This commit is contained in:
parent
01e7a17d35
commit
675dc0ce8a
|
@ -29,7 +29,7 @@ CREATE TABLE `tblUsers` (
|
|||
`comment` text NOT NULL,
|
||||
`role` smallint(1) NOT NULL default '0',
|
||||
`hidden` smallint(1) NOT NULL default '0',
|
||||
`pwdExpiration` datetime NOT NULL default '0000-00-00 00:00:00';
|
||||
`pwdExpiration` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`loginfailures` tinyint(4) NOT NULL default '0',
|
||||
`disabled` smallint(1) NOT NULL default '0',
|
||||
PRIMARY KEY (`id`)
|
||||
|
@ -467,8 +467,8 @@ CREATE TABLE `tblVersion` (
|
|||
-- Initial content for database
|
||||
--
|
||||
|
||||
INSERT INTO tblUsers VALUES (1, 'admin', '21232f297a57a5a743894a0e4a801fc3', 'Administrator', 'address@server.com', '', '', '', 1, 0);
|
||||
INSERT INTO tblUsers VALUES (2, 'guest', NULL, 'Guest User', NULL, '', '', '', 2, 0);
|
||||
INSERT INTO tblUsers VALUES (1, 'admin', '21232f297a57a5a743894a0e4a801fc3', 'Administrator', 'address@server.com', '', '', '', 1, 0, '', 0, 0);
|
||||
INSERT INTO tblUsers VALUES (2, 'guest', NULL, 'Guest User', NULL, '', '', '', 2, 0, '', 0, 0);
|
||||
INSERT INTO tblFolders VALUES (1, 'DMS', 0, '', 'DMS root', UNIX_TIMESTAMP(), 1, 0, 2, 0);
|
||||
INSERT INTO tblVersion VALUES (NOW(), 3, 4, 0);
|
||||
INSERT INTO tblCategory VALUES (0, '');
|
||||
|
|
Loading…
Reference in New Issue
Block a user