Schema
Owner
woodseer
Tablespace
(default)
Descriptions
Join table associating a measure with an operator and a role for this operator
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
romobj_mobj_id |
integer |
|
|
|
Automatic numeric identifier of the associated measure |
|||
romobj_ope_id |
integer |
|
|
|
Automatic numeric identifier of the associated operator |
|||
romobj_rol_id |
integer |
|
|
|
Automatic numeric identifier of the associated role |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
romobj_mobj_id |
mobj_id |
No Action |
No Action |
|
Immediate |
The rom_mobj_id field necessarily corresponds to an existing measure |
||
romobj_ope_id |
ope_id |
No Action |
No Action |
|
Immediate |
The rom_ope_id field necessarily corresponds to an existing operator |
||
romobj_rol_id |
rol_id |
No Action |
No Action |
|
Immediate |
The rom_rol_id field necessarily corresponds to an existing role |
Check Constraints
There are no check constraints for table tj_rol_ope_mobj_romobj
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
romobj_mobj_id, romobj_ope_id, romobj_rol_id |
|
|||
btree |
|
romobj_mobj_id |
|
|
Foreign key index to speed up updates / deletion |
|
btree |
|
romobj_ope_id |
|
|
Foreign key index to speed up updates / deletion |
|
btree |
|
romobj_rol_id |
|
|
Foreign key index to speed up updates / deletion |
Triggers
There are no triggers for table tj_rol_ope_mobj_romobj
Rules
There are no rules for table tj_rol_ope_mobj_romobj
Policies
There are no policies for table tj_rol_ope_mobj_romobj
Referenced
There are no tables referenced by table tj_rol_ope_mobj_romobj
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tj_rol_ope_mobj_romobj (
romobj_mobj_id INTEGER NOT NULL,
romobj_ope_id INTEGER NOT NULL,
romobj_rol_id INTEGER NOT NULL,
CONSTRAINT tj_rol_ope_mobj_romobj_pkey PRIMARY KEY(romobj_mobj_id, romobj_ope_id, romobj_rol_id),
CONSTRAINT c_fk_mobj_romobj FOREIGN KEY (romobj_mobj_id)
REFERENCES public.t_measure_mobj(mobj_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_ope_romobj FOREIGN KEY (romobj_ope_id)
REFERENCES public.tr_operator_ope(ope_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_rol_romobj FOREIGN KEY (romobj_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_mobj_romobj
IS 'Join table associating a measure with an operator and a role for this operator';
COMMENT ON COLUMN public.tj_rol_ope_mobj_romobj.romobj_mobj_id
IS 'Automatic numeric identifier of the associated measure';
COMMENT ON COLUMN public.tj_rol_ope_mobj_romobj.romobj_ope_id
IS 'Automatic numeric identifier of the associated operator';
COMMENT ON COLUMN public.tj_rol_ope_mobj_romobj.romobj_rol_id
IS 'Automatic numeric identifier of the associated role';
COMMENT ON CONSTRAINT c_fk_mobj_romobj ON public.tj_rol_ope_mobj_romobj
IS 'The rom_mobj_id field necessarily corresponds to an existing measure';
COMMENT ON CONSTRAINT c_fk_ope_romobj ON public.tj_rol_ope_mobj_romobj
IS 'The rom_ope_id field necessarily corresponds to an existing operator';
COMMENT ON CONSTRAINT c_fk_rol_romobj ON public.tj_rol_ope_mobj_romobj
IS 'The rom_rol_id field necessarily corresponds to an existing role';
CREATE INDEX x_btr_mobj_romobj ON public.tj_rol_ope_mobj_romobj
USING btree (romobj_mobj_id);
COMMENT ON INDEX public.x_btr_mobj_romobj
IS 'Foreign key index to speed up updates / deletion';
CREATE INDEX x_btr_ope_romobj ON public.tj_rol_ope_mobj_romobj
USING btree (romobj_ope_id);
COMMENT ON INDEX public.x_btr_ope_romobj
IS 'Foreign key index to speed up updates / deletion';
CREATE INDEX x_btr_rol_romobj ON public.tj_rol_ope_mobj_romobj
USING btree (romobj_rol_id);
COMMENT ON INDEX public.x_btr_rol_romobj
IS 'Foreign key index to speed up updates / deletion';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |