Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| user_id | serial | 10 | √ | nextval('users_user_id_seq'::regclass) |
|
|
|||||||||||||||||||||||||||||||||||
| citext | 2147483647 | null |
|
|
|||||||||||||||||||||||||||||||||||||
| username | citext | 2147483647 | null |
|
|
||||||||||||||||||||||||||||||||||||
| password | text | 2147483647 | null |
|
|
||||||||||||||||||||||||||||||||||||
| created_at | timestamp | 26,3 | CURRENT_TIMESTAMP |
|
|
||||||||||||||||||||||||||||||||||||
| avatar | text | 2147483647 | ''::text |
|
|
||||||||||||||||||||||||||||||||||||
| text | 2147483647 | ''::text |
|
|
|||||||||||||||||||||||||||||||||||||
| description | text | 2147483647 | 'Default description'::text |
|
|
||||||||||||||||||||||||||||||||||||
| is_banned | bool | 1 | false |
|
|
||||||||||||||||||||||||||||||||||||
| ban_reason | text | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||
| ban_expires_at | timestamp | 26,3 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||
| stream_token | text | 2147483647 | √ | ''::text |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| users_pkey | Primary key | Asc | user_id |
| users_created_at_idx | Performance | Asc | created_at |
| users_email_key | Must be unique | Asc | |
| users_user_id_key | Must be unique | Asc | user_id |
| users_username_key | Must be unique | Asc | username |

