mirror of https://github.com/MISP/MISP
defaults for users tables.
parent
e826f98163
commit
075bd9875c
|
@ -633,19 +633,19 @@ CREATE TABLE IF NOT EXISTS `users` (
|
|||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`password` varchar(40) COLLATE utf8_bin NOT NULL,
|
||||
`org_id` int(11) NOT NULL,
|
||||
`server_id` int(11) NOT NULL,
|
||||
`server_id` int(11) NOT NULL DEFAULT '0',
|
||||
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`autoalert` tinyint(1) NOT NULL,
|
||||
`authkey` varchar(40) COLLATE utf8_bin NOT NULL,
|
||||
`invited_by` int(11) NOT NULL,
|
||||
`gpgkey` longtext COLLATE utf8_bin NOT NULL,
|
||||
`nids_sid` int(15) NOT NULL,
|
||||
`termsaccepted` tinyint(1) NOT NULL,
|
||||
`newsread` date NOT NULL,
|
||||
`role_id` int(11) NOT NULL,
|
||||
`change_pw` tinyint(4) NOT NULL,
|
||||
`contactalert` tinyint(1) NOT NULL,
|
||||
`disabled` BOOLEAN NOT NULL,
|
||||
`autoalert` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`authkey` varchar(40) COLLATE utf8_bin DEFAULT NULL,
|
||||
`invited_by` int(11) NOT NULL DEFAULT '0',
|
||||
`gpgkey` longtext COLLATE utf8_bin,
|
||||
`nids_sid` int(15) NOT NULL DEFAULT '0',
|
||||
`termsaccepted` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`newsread` date DEFAULT NULL,
|
||||
`role_id` int(11) NOT NULL DEFAULT '0',
|
||||
`change_pw` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`contactalert` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`disabled` BOOLEAN NOT NULL DEFAULT '0',
|
||||
`expiration` datetime DEFAULT NULL,
|
||||
`current_login` INT(11) DEFAULT 0,
|
||||
`last_login` INT(11) DEFAULT 0,
|
||||
|
|
Loading…
Reference in New Issue