mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Email: Add SQL file
This commit is contained in:
parent
f81444ee08
commit
967d872fc3
1 changed files with 9 additions and 0 deletions
9
install/sqls/00018-email-verification.sql
Normal file
9
install/sqls/00018-email-verification.sql
Normal file
|
@ -0,0 +1,9 @@
|
|||
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,
|
||||
`key` char(64) COLLATE utf8mb4_general_nopad_ci NOT NULL,
|
||||
`timestamp` bigint(20) unsigned NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_nopad_ci;
|
Loading…
Reference in a new issue