mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	- fixed syntax error
- corrected sql statement for inserting initial users
This commit is contained in:
		
							parent
							
								
									7390064eba
								
							
						
					
					
						commit
						e15f5d14e4
					
				|  | @ -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`) | ||||
|  | @ -490,8 +490,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
	 steinm
						steinm