Schema
Owner
postgres
Tablespace
(default)
Descriptions
Join table associating a measure with an operator and a role for this operator
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
ros_msam_id |
integer |
|
|
|
Automatic numeric identifier of the associated measure |
|||
ros_ope_id |
integer |
|
|
|
Automatic numeric identifier of the associated operator |
|||
ros_rol_id |
integer |
|
|
|
Automatic numeric identifier of the associated role |
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
ros_msam_id |
msam_id |
No Action |
No Action |
|
Immediate |
The ros_msam_id field necessarily corresponds to an existing measure |
||
ros_ope_id |
ope_id |
No Action |
No Action |
|
Immediate |
The ros_ope_id field necessarily corresponds to an existing operator |
||
ros_rol_id |
rol_id |
No Action |
No Action |
|
Immediate |
The ros_rol_id field necessarily corresponds to an existing role |
Check Constraints
There are no check constraints for table tj_rol_ope_msam_ros
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
ros_msam_id, ros_ope_id, ros_rol_id |
|
|||
btree |
|
ros_msam_id |
|
|
Foreign key index to speed up updates / deletion |
|
btree |
|
ros_ope_id |
|
|
Foreign key index to speed up updates / deletion |
|
btree |
|
ros_rol_id |
|
|
Foreign key index to speed up updates / deletion |
Triggers
There are no triggers for table tj_rol_ope_msam_ros
Rules
There are no rules for table tj_rol_ope_msam_ros
Policies
There are no policies for table tj_rol_ope_msam_ros
Referenced
There are no tables referenced by table tj_rol_ope_msam_ros
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
-1 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tj_rol_ope_msam_ros (
ros_msam_id INTEGER NOT NULL,
ros_ope_id INTEGER NOT NULL,
ros_rol_id INTEGER NOT NULL,
CONSTRAINT tj_rol_ope_msam_ros_pkey PRIMARY KEY(ros_msam_id, ros_ope_id, ros_rol_id),
CONSTRAINT c_fk_msam_ros FOREIGN KEY (ros_msam_id)
REFERENCES public.t_measure_msam(msam_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_ope_ros FOREIGN KEY (ros_ope_id)
REFERENCES public.tr_operator_ope(ope_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_rol_ros FOREIGN KEY (ros_rol_id)
REFERENCES public.tr_role_rol(rol_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.tj_rol_ope_msam_ros
IS 'Join table associating a measure with an operator and a role for this operator';
COMMENT ON COLUMN public.tj_rol_ope_msam_ros.ros_msam_id
IS 'Automatic numeric identifier of the associated measure';
COMMENT ON COLUMN public.tj_rol_ope_msam_ros.ros_ope_id
IS 'Automatic numeric identifier of the associated operator';
COMMENT ON COLUMN public.tj_rol_ope_msam_ros.ros_rol_id
IS 'Automatic numeric identifier of the associated role';
COMMENT ON CONSTRAINT c_fk_msam_ros ON public.tj_rol_ope_msam_ros
IS 'The ros_msam_id field necessarily corresponds to an existing measure';
COMMENT ON CONSTRAINT c_fk_ope_ros ON public.tj_rol_ope_msam_ros
IS 'The ros_ope_id field necessarily corresponds to an existing operator';
COMMENT ON CONSTRAINT c_fk_rol_ros ON public.tj_rol_ope_msam_ros
IS 'The ros_rol_id field necessarily corresponds to an existing role';
CREATE INDEX x_btr_msam_ros ON public.tj_rol_ope_msam_ros
USING btree (ros_msam_id);
COMMENT ON INDEX public.x_btr_msam_ros
IS 'Foreign key index to speed up updates / deletion';
CREATE INDEX x_btr_ope_ros ON public.tj_rol_ope_msam_ros
USING btree (ros_ope_id);
COMMENT ON INDEX public.x_btr_ope_ros
IS 'Foreign key index to speed up updates / deletion';
CREATE INDEX x_btr_rol_ros ON public.tj_rol_ope_msam_ros
USING btree (ros_rol_id);
COMMENT ON INDEX public.x_btr_rol_ros
IS 'Foreign key index to speed up updates / deletion';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) |