pggeodb.nancy.inra.fr/db_woodseer - db_woodseer on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Table: tj_rol_ope_mdet_romdet

 

 

Schema

public

 

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

romdet_mdet_id

integer

 

 

 

Automatic numeric identifier of the associated measure

romdet_ope_id

integer

 

 

 

Automatic numeric identifier of the associated operator

romdet_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

c_fk_mdet_romdet

romdet_mdet_id

public.t_measure_mdet

mdet_id

No Action

No Action

 

Immediate

The rom_mdet_id field necessarily corresponds to an existing measure

c_fk_ope_romdet

romdet_ope_id

public.tr_operator_ope

ope_id

No Action

No Action

 

Immediate

The rom_ope_id field necessarily corresponds to an existing operator

c_fk_rol_romdet

romdet_rol_id

public.tr_role_rol

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_mdet_romdet

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

tj_rol_ope_mdet_romdet_pkey

btree

 

romdet_mdet_id, romdet_ope_id, romdet_rol_id

 

x_btr_mdet_romdet

btree

 

romdet_mdet_id

 

 

Foreign key index to speed up updates / deletion

x_btr_ope_romdet

btree

 

romdet_ope_id

 

 

Foreign key index to speed up updates / deletion

x_btr_rol_romdet

btree

 

romdet_rol_id

 

 

Foreign key index to speed up updates / deletion

 

Triggers

There are no triggers for table tj_rol_ope_mdet_romdet

 

Rules

There are no rules for table tj_rol_ope_mdet_romdet

 

Policies

There are no policies for table tj_rol_ope_mdet_romdet

 

Referenced

There are no tables referenced by table tj_rol_ope_mdet_romdet

 

Properties

Property

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tj_rol_ope_mdet_romdet (
 romdet_mdet_id INTEGER NOT NULL,
 romdet_ope_id INTEGER NOT NULL,
 romdet_rol_id INTEGER NOT NULL,
 CONSTRAINT tj_rol_ope_mdet_romdet_pkey PRIMARY KEY(romdet_mdet_id, romdet_ope_id, romdet_rol_id),
 CONSTRAINT c_fk_mdet_romdet FOREIGN KEY (romdet_mdet_id)
   REFERENCES public.t_measure_mdet(mdet_id)
   ON DELETE NO ACTION
   ON
UPDATE NO ACTION
   NOT DEFERRABLE
,
 CONSTRAINT c_fk_ope_romdet FOREIGN KEY (romdet_ope_id)
   REFERENCES public.tr_operator_ope(ope_id)
   ON DELETE NO ACTION
   ON
UPDATE NO ACTION
   NOT DEFERRABLE
,
 CONSTRAINT c_fk_rol_romdet FOREIGN KEY (romdet_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_mdet_romdet
IS 'Join table associating a measure with an operator and a role for this operator';

COMMENT ON COLUMN public.tj_rol_ope_mdet_romdet.romdet_mdet_id
IS 'Automatic numeric identifier of the associated measure';

COMMENT ON COLUMN public.tj_rol_ope_mdet_romdet.romdet_ope_id
IS 'Automatic numeric identifier of the associated operator';

COMMENT ON COLUMN public.tj_rol_ope_mdet_romdet.romdet_rol_id
IS 'Automatic numeric identifier of the associated role';

COMMENT ON CONSTRAINT c_fk_mdet_romdet ON public.tj_rol_ope_mdet_romdet
IS 'The rom_mdet_id field necessarily corresponds to an existing measure';

COMMENT ON CONSTRAINT c_fk_ope_romdet ON public.tj_rol_ope_mdet_romdet
IS 'The rom_ope_id field necessarily corresponds to an existing operator';

COMMENT ON CONSTRAINT c_fk_rol_romdet ON public.tj_rol_ope_mdet_romdet
IS 'The rom_rol_id field necessarily corresponds to an existing role';

CREATE INDEX x_btr_mdet_romdet ON public.tj_rol_ope_mdet_romdet
 USING btree (romdet_mdet_id);

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

CREATE INDEX x_btr_ope_romdet ON public.tj_rol_ope_mdet_romdet
 USING btree (romdet_ope_id);

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

CREATE INDEX x_btr_rol_romdet ON public.tj_rol_ope_mdet_romdet
 USING btree (romdet_rol_id);

COMMENT ON INDEX public.x_btr_rol_romdet
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
Previous topic Chapter index Next topic