Schema
Owner
postgres
Tablespace
(default)
Descriptions
Table de jointure associant une mesure de rondelle à un opérateur et à un rôle pour cet opérateur
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
rod_mron_id |
integer |
|
|
|
Identifiant unique numérique de la mesure de rondelle associée |
|||
rod_ope_id |
integer |
|
|
|
Identifiant automatique numérique de l'opérateur associé |
|||
rod_rol_id |
integer |
|
|
|
Identifiant automatique numérique du rôle associé |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
rod_mron_id |
mron_id |
No Action |
No Action |
|
Immediate |
Le champ rod_mron_id correspond obligatoirement à une mesure de rondelle existante |
||
rod_ope_id |
ope_id |
No Action |
No Action |
|
Immediate |
Le champ rod_ope_id correspond obligatoirement à un opérateur existant |
||
rod_rol_id |
rol_id |
No Action |
No Action |
|
Immediate |
Le champ rod_rol_id correspond obligatoirement à un rôle existant |
Check Constraints
There are no check constraints for table tj_role_ope_mron_rod
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
rod_mron_id, rod_ope_id, rod_rol_id |
|
|||
btree |
|
rod_mron_id |
|
|
Index de clé étrangère pour accélérer les mises à jour / suppression |
|
btree |
|
rod_ope_id |
|
|
Index de clé étrangère pour accélérer les mises à jour / suppression |
|
btree |
|
rod_rol_id |
|
|
Index de clé étrangère pour accélérer les mises à jour / suppression |
Triggers
There are no triggers for table tj_role_ope_mron_rod
Rules
There are no rules for table tj_role_ope_mron_rod
Policies
There are no policies for table tj_role_ope_mron_rod
Referenced
There are no tables referenced by table tj_role_ope_mron_rod
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tj_role_ope_mron_rod (
rod_mron_id INTEGER NOT NULL,
rod_ope_id INTEGER NOT NULL,
rod_rol_id INTEGER NOT NULL,
CONSTRAINT tj_role_ope_mron_rod_pkey PRIMARY KEY(rod_mron_id, rod_ope_id, rod_rol_id),
CONSTRAINT c_fk_mron_rod FOREIGN KEY (rod_mron_id)
REFERENCES public.t_mesure_mron(mron_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_ope_rod FOREIGN KEY (rod_ope_id)
REFERENCES public.tr_operateur_ope(ope_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_rol_rod FOREIGN KEY (rod_rol_id)
REFERENCES public.tr_role_rol(rol_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.tj_role_ope_mron_rod
IS 'Table de jointure associant une mesure de rondelle à un opérateur et à un rôle pour cet opérateur';
COMMENT ON COLUMN public.tj_role_ope_mron_rod.rod_mron_id
IS 'Identifiant unique numérique de la mesure de rondelle associée';
COMMENT ON COLUMN public.tj_role_ope_mron_rod.rod_ope_id
IS 'Identifiant automatique numérique de l''opérateur associé';
COMMENT ON COLUMN public.tj_role_ope_mron_rod.rod_rol_id
IS 'Identifiant automatique numérique du rôle associé';
COMMENT ON CONSTRAINT c_fk_mron_rod ON public.tj_role_ope_mron_rod
IS 'Le champ rod_mron_id correspond obligatoirement à une mesure de rondelle existante';
COMMENT ON CONSTRAINT c_fk_ope_rod ON public.tj_role_ope_mron_rod
IS 'Le champ rod_ope_id correspond obligatoirement à un opérateur existant';
COMMENT ON CONSTRAINT c_fk_rol_rod ON public.tj_role_ope_mron_rod
IS 'Le champ rod_rol_id correspond obligatoirement à un rôle existant';
CREATE INDEX x_btr_mron_rod ON public.tj_role_ope_mron_rod
USING btree (rod_mron_id);
COMMENT ON INDEX public.x_btr_mron_rod
IS 'Index de clé étrangère pour accélérer les mises à jour / suppression';
CREATE INDEX x_btr_ope_rod ON public.tj_role_ope_mron_rod
USING btree (rod_ope_id);
COMMENT ON INDEX public.x_btr_ope_rod
IS 'Index de clé étrangère pour accélérer les mises à jour / suppression';
CREATE INDEX x_btr_rol_rod ON public.tj_role_ope_mron_rod
USING btree (rod_rol_id);
COMMENT ON INDEX public.x_btr_rol_rod
IS 'Index de clé étrangère pour accélérer les mises à jour / suppression';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |
![]() ![]() ![]() |