social_auth_code

Description

Table Definition
CREATE TABLE `social_auth_code` (
  `id` int NOT NULL AUTO_INCREMENT,
  `email` varchar(254) NOT NULL,
  `code` varchar(32) NOT NULL,
  `verified` tinyint(1) NOT NULL,
  `timestamp` datetime(6) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `social_auth_code_email_code_801b2d02_uniq` (`email`,`code`),
  KEY `social_auth_code_code_a2393167` (`code`),
  KEY `social_auth_code_timestamp_176b341f` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci

Columns

NameTypeDefaultNullableExtra DefinitionChildrenParentsComment
idintfalseauto_increment
emailvarchar(254)false
codevarchar(32)false
verifiedtinyint(1)false
timestampdatetime(6)false

Constraints

NameTypeDefinition
PRIMARYPRIMARY KEYPRIMARY KEY (id)
social_auth_code_email_code_801b2d02_uniqUNIQUEUNIQUE KEY social_auth_code_email_code_801b2d02_uniq (email, code)

Indexes

NameDefinition
social_auth_code_code_a2393167KEY social_auth_code_code_a2393167 (code) USING BTREE
social_auth_code_timestamp_176b341fKEY social_auth_code_timestamp_176b341f (timestamp) USING BTREE
PRIMARYPRIMARY KEY (id) USING BTREE
social_auth_code_email_code_801b2d02_uniqUNIQUE KEY social_auth_code_email_code_801b2d02_uniq (email, code) USING BTREE

Relations

er


Generated by tbls