public.django_admin_log¶
Columns¶
| Name | Type | Default | Nullable | Children | Parents | Comment |
|---|---|---|---|---|---|---|
| action_flag | smallint | false | ||||
| action_time | timestamp with time zone | false | ||||
| change_message | text | false | ||||
| content_type_id | integer | true | public.django_content_type | |||
| id | integer | false | ||||
| object_id | text | true | ||||
| object_repr | varchar(200) | false | ||||
| user_id | bigint | false | public.users |
Constraints¶
| Name | Type | Definition |
|---|---|---|
| django_admin_log_action_flag_check | CHECK | CHECK ((action_flag >= 0)) |
| django_admin_log_content_type_id_c4bce8eb_fk_django_co | FOREIGN KEY | FOREIGN KEY (content_type_id) REFERENCES django_content_type(id) DEFERRABLE INITIALLY DEFERRED |
| django_admin_log_pkey | PRIMARY KEY | PRIMARY KEY (id) |
| django_admin_log_user_id_c564eba6_fk_users_id | FOREIGN KEY | FOREIGN KEY (user_id) REFERENCES users(id) DEFERRABLE INITIALLY DEFERRED |
Indexes¶
| Name | Definition |
|---|---|
| django_admin_log_content_type_id_c4bce8eb | CREATE INDEX django_admin_log_content_type_id_c4bce8eb ON public.django_admin_log USING btree (content_type_id) |
| django_admin_log_pkey | CREATE UNIQUE INDEX django_admin_log_pkey ON public.django_admin_log USING btree (id) |
| django_admin_log_user_id_c564eba6 | CREATE INDEX django_admin_log_user_id_c564eba6 ON public.django_admin_log USING btree (user_id) |
Generated by tbls