public.actor
| Documentation | Pagila |
| Schema | public |
| Name | actor |
| Module | Inventory |
Stores actors data including first name and last name
Columns
| Key | Name | Data type | Null | Attributes | References | Description | ||
|---|---|---|---|---|---|---|---|---|
| 1 | actor_id | integer | Default: nextval('actor_actor_id_seq'::regclass) | A surrogate primary key used to uniquely identify each actor in the table. | ||||
| A surrogate primary key used to uniquely identify each actor in the table. Default: nextval('actor_actor_id_seq'::regclass) |
||||||||
| 2 | first_name | character varying(45) | The actor's first name. | |||||
| The actor's first name. |
||||||||
| 3 | last_name | character varying(45) | The actor's last name. | |||||
| The actor's last name. |
||||||||
| 4 | last_update | timestamp without time zone(6) | Default: now() | The time that the row was created or most recently updated. | ||||
| The time that the row was created or most recently updated. Default: now() |
||||||||
Relations
| Foreign table | Primary table | Join | Title / Name / Description | |
|---|---|---|---|---|
| public.film_actor | public.actor | public.film_actor.actor_id = public.actor.actor_id | film_actor_actor_id_fkey Foreign key constraint referencing actor.actor_id |
|
|
public.film_actor.actor_id = public.actor.actor_id Name: film_actor_actor_id_fkeyForeign key constraint referencing actor.actor_id |
||||
Unique keys
| Key name | Columns | Description | |
|---|---|---|---|
| actor_pkey | actor_id | Primary key. | |
| Primary key. | |||
Triggers
| Key name | When | Description | |
|---|---|---|---|
| last_updated | Before Update | The last_updated trigger sets last_update column of table to the current timestamp. | |
| The last_updated trigger sets last_update column of table to the current timestamp. | |||
Used by
| Name |
|---|
|
public.actor
|
Exported: 2018-10-12 17:07, Last imported: 2018-08-06 09:25
