Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('user_oauth_id_seq'::regclass) |
|
|
||||
| user_id | int8 | 19 | null |
|
|
|||||
| access_token | text | 2147483647 | √ | null |
|
|
||||
| created_at | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |
|
|
||||
| updated_at | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |
|
|
||||
| refresh_token | varchar | 255 | √ | null |
|
|
||||
| provider | text | 2147483647 | null |
|
|
|||||
| scope | text | 2147483647 | √ | null |
|
|
||||
| expires | timestamptz | 35,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| user_oauth_pkey | Primary key | Asc | id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| user_oauth_provider_check | ((provider = ANY (ARRAY['facebook'::text, 'google'::text, 'medium'::text]))) |