db_globoxylo
Previous topic Chapter index Next topic

Table: tj_rol_ope_grp_rog

 

 

Schema

public

 

Owner

globoxylo

 

Tablespace

(default)

 

Descriptions

Join table associating a grouping with an operator and a role for this operator

 

Columns

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

rog_grp_id

integer

 

 

 

Unique numeric identifier of the associated grouping

rog_ope_id

integer

 

 

 

Numerical automatic identifier of the associated operator

rog_rol_id

integer

 

 

 

Numeric automatic identifier of the associated role

 

Foreign Keys

Name

Columns

FK Table

FK Columns

Delete Action

Update Action

Deferrable

Check Time

Description

c_fk_grp_rog

rog_grp_id

public.t_grouping_grp

grp_id

No Action

No Action

 

Immediate

The rog_grp_id field necessarily corresponds to an existing grouping

c_fk_ope_rog

rog_ope_id

public.tr_operator_ope

ope_id

No Action

No Action

 

Immediate

The rog_ope_id field must correspond to an existing operator

c_fk_rol_rog

rog_rol_id

public.tr_role_rol

rol_id

No Action

No Action

 

Immediate

The rog_rol_id field must correspond to an existing role

 

Check Constraints

There are no check constraints for table tj_rol_ope_grp_rog

 

Indices

Name

Type

Function

Columns

Primary Key

Unique

Description

tj_rol_ope_grp_rog_pkey

btree

 

rog_grp_id, rog_ope_id, rog_rol_id

 

x_btr_grp_rog

btree

 

rog_grp_id

 

 

Foreign key index to speed up updates / deletion

x_btr_ope_rog

btree

 

rog_ope_id

 

 

Foreign key index to speed up updates / deletion

x_btr_rol_rog

btree

 

rog_rol_id

 

 

Foreign key index to speed up updates / deletion

 

Triggers

There are no triggers for table tj_rol_ope_grp_rog

 

Rules

There are no rules for table tj_rol_ope_grp_rog

 

Policies

There are no policies for table tj_rol_ope_grp_rog

 

Referenced

There are no tables referenced by table tj_rol_ope_grp_rog

 

Properties

Property

Value

Inherited From

 

Rows

-1

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tj_rol_ope_grp_rog (
 rog_grp_id INTEGER NOT NULL,
 rog_ope_id INTEGER NOT NULL,
 rog_rol_id INTEGER NOT NULL,
 CONSTRAINT tj_rol_ope_grp_rog_pkey PRIMARY KEY(rog_grp_id, rog_ope_id, rog_rol_id),
 CONSTRAINT c_fk_grp_rog FOREIGN KEY (rog_grp_id)
   REFERENCES public.t_grouping_grp(grp_id)
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE
,
 CONSTRAINT c_fk_ope_rog FOREIGN KEY (rog_ope_id)
   REFERENCES public.tr_operator_ope(ope_id)
   ON DELETE NO ACTION
   ON UPDATE NO ACTION
   NOT DEFERRABLE
,
 CONSTRAINT c_fk_rol_rog FOREIGN KEY (rog_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_grp_rog
IS 'Join table associating a grouping with an operator and a role for this operator';

COMMENT ON COLUMN public.tj_rol_ope_grp_rog.rog_grp_id
IS 'Unique numeric identifier of the associated grouping';

COMMENT ON COLUMN public.tj_rol_ope_grp_rog.rog_ope_id
IS 'Numerical automatic identifier of the associated operator';

COMMENT ON COLUMN public.tj_rol_ope_grp_rog.rog_rol_id
IS 'Numeric automatic identifier of the associated role';

COMMENT ON CONSTRAINT c_fk_grp_rog ON public.tj_rol_ope_grp_rog
IS 'The rog_grp_id field necessarily corresponds to an existing grouping';

COMMENT ON CONSTRAINT c_fk_ope_rog ON public.tj_rol_ope_grp_rog
IS 'The rog_ope_id field must correspond to an existing operator';

COMMENT ON CONSTRAINT c_fk_rol_rog ON public.tj_rol_ope_grp_rog
IS 'The rog_rol_id field must correspond to an existing role';

CREATE INDEX x_btr_grp_rog ON public.tj_rol_ope_grp_rog
 USING btree (rog_grp_id);

COMMENT ON INDEX public.x_btr_grp_rog
IS 'Foreign key index to speed up updates / deletion';

CREATE INDEX x_btr_ope_rog ON public.tj_rol_ope_grp_rog
 USING btree (rog_ope_id);

COMMENT ON INDEX public.x_btr_ope_rog
IS 'Foreign key index to speed up updates / deletion';

CREATE INDEX x_btr_rol_rog ON public.tj_rol_ope_grp_rog
 USING btree (rog_rol_id);

COMMENT ON INDEX public.x_btr_rol_rog
IS 'Foreign key index to speed up updates / deletion';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com)
Previous topic Chapter index Next topic