Merge branch 'master' of ssh://**REDACTED**/~/_C++/gradido_login_server

This commit is contained in:
Dario 2020-06-15 17:37:17 +02:00
commit fc91ba219e
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ CREATE TABLE `email_opt_in` (
`verification_code` bigint(25) unsigned NOT NULL,
`email_opt_in_type_id` int(11) NOT NULL,
`created` datetime NOT NULL DEFAULT current_timestamp(),
`resend_count` int(11) DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `verification_code` (`verification_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

View File

@ -8,6 +8,7 @@ CREATE TABLE `users` (
`privkey` binary(80) DEFAULT NULL,
`created` datetime NOT NULL DEFAULT current_timestamp(),
`email_checked` tinyint(1) NOT NULL DEFAULT 0,
`passphrase_shown` tinyint(1) NOT NULL DEFAULT 0,
`language` varchar(4) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT 'de',
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`)