social_auth_usersocialauth

Description

Table Definition
CREATE TABLE `social_auth_usersocialauth` (
  `id` int NOT NULL AUTO_INCREMENT,
  `provider` varchar(32) NOT NULL,
  `uid` varchar(255) NOT NULL,
  `extra_data` longtext NOT NULL,
  `user_id` int NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `social_auth_usersocialauth_provider_uid_e6b5e668_uniq` (`provider`,`uid`),
  KEY `social_auth_usersocialauth_user_id_17d28448_fk_auth_user_id` (`user_id`),
  CONSTRAINT `social_auth_usersocialauth_user_id_17d28448_fk_auth_user_id` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=[Redacted by tbls] DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci

Columns

NameTypeDefaultNullableExtra DefinitionChildrenParentsComment
idintfalseauto_increment
providervarchar(32)false
uidvarchar(255)false
extra_datalongtextfalse
user_idintfalseauth_user

Constraints

NameTypeDefinition
PRIMARYPRIMARY KEYPRIMARY KEY (id)
social_auth_usersocialauth_provider_uid_e6b5e668_uniqUNIQUEUNIQUE KEY social_auth_usersocialauth_provider_uid_e6b5e668_uniq (provider, uid)
social_auth_usersocialauth_user_id_17d28448_fk_auth_user_idFOREIGN KEYFOREIGN KEY (user_id) REFERENCES auth_user (id)

Indexes

NameDefinition
social_auth_usersocialauth_user_id_17d28448_fk_auth_user_idKEY social_auth_usersocialauth_user_id_17d28448_fk_auth_user_id (user_id) USING BTREE
PRIMARYPRIMARY KEY (id) USING BTREE
social_auth_usersocialauth_provider_uid_e6b5e668_uniqUNIQUE KEY social_auth_usersocialauth_provider_uid_e6b5e668_uniq (provider, uid) USING BTREE

Relations

er


Generated by tbls