auth_user

Description

Table Definition
CREATE TABLE `auth_user` (
  `id` int NOT NULL AUTO_INCREMENT,
  `password` varchar(128) NOT NULL,
  `last_login` datetime(6) DEFAULT NULL,
  `is_superuser` tinyint(1) NOT NULL,
  `username` varchar(150) NOT NULL,
  `first_name` varchar(30) NOT NULL,
  `last_name` varchar(150) NOT NULL,
  `email` varchar(254) NOT NULL,
  `is_staff` tinyint(1) NOT NULL,
  `is_active` tinyint(1) NOT NULL,
  `date_joined` datetime(6) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=[Redacted by tbls] DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci

Columns

NameTypeDefaultNullableExtra DefinitionChildrenParentsComment
idintfalseauto_incrementauth_user_groups auth_user_user_permissions django_admin_log social_auth_usersocialauth
passwordvarchar(128)false
last_logindatetime(6)true
is_superusertinyint(1)false
usernamevarchar(150)false
first_namevarchar(30)false
last_namevarchar(150)false
emailvarchar(254)false
is_stafftinyint(1)false
is_activetinyint(1)false
date_joineddatetime(6)false

Constraints

NameTypeDefinition
PRIMARYPRIMARY KEYPRIMARY KEY (id)
usernameUNIQUEUNIQUE KEY username (username)

Indexes

NameDefinition
PRIMARYPRIMARY KEY (id) USING BTREE
usernameUNIQUE KEY username (username) USING BTREE

Relations

er


Generated by tbls