openvk/install/sqls/00018-email-verification.sql

10 lines
428 B
MySQL
Raw Permalink Normal View History

2022-01-31 16:03:04 +03:00
ALTER TABLE `profiles` ADD `activated` tinyint(3) NULL DEFAULT '1' AFTER `2fa_secret`;
CREATE TABLE IF NOT EXISTS `email_verifications` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`profile` bigint(20) unsigned NOT NULL,
2022-04-10 12:19:41 +03:00
`key` char(64) COLLATE utf8mb4_unicode_520_ci NOT NULL,
2022-01-31 16:03:04 +03:00
`timestamp` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`id`)
2022-04-10 12:16:03 +03:00
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;