Schema
Owner
postgres
Tablespace
(default)
Descriptions
Join table associating a measure with a grouping.
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
gmz_mzon_id |
integer |
|
|
|
Unique numeric identifier of the associated measurement |
|||
gmz_grp_id |
integer |
|
|
|
Numerical automatic identifier of the associated grouping |
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
gmz_grp_id |
grp_id |
No Action |
No Action |
|
Immediate |
The gmz_grp_id field necessarily corresponds to an existing grouping |
||
gmz_mzon_id |
mzon_id |
No Action |
No Action |
|
Immediate |
The gmz_mzon_id field necessarily corresponds to an existing measurement |
Check Constraints
There are no check constraints for table tj_grp_mzon_gmz
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
gmz_mzon_id, gmz_grp_id |
|
|||
btree |
|
gmz_grp_id |
|
|
Foreign key index to speed up updates / deletion |
|
btree |
|
gmz_mzon_id |
|
|
Foreign key index to speed up updates / deletion |
Triggers
There are no triggers for table tj_grp_mzon_gmz
Rules
There are no rules for table tj_grp_mzon_gmz
Policies
There are no policies for table tj_grp_mzon_gmz
Referenced
There are no tables referenced by table tj_grp_mzon_gmz
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
-1 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tj_grp_mzon_gmz (
gmz_mzon_id INTEGER NOT NULL,
gmz_grp_id INTEGER NOT NULL,
CONSTRAINT tj_grp_mzon_gmz_pkey PRIMARY KEY(gmz_mzon_id, gmz_grp_id),
CONSTRAINT c_fk_grp_gmz FOREIGN KEY (gmz_grp_id)
REFERENCES public.t_grouping_grp(grp_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_mzon_gmz FOREIGN KEY (gmz_mzon_id)
REFERENCES public.t_measure_mzon(mzon_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.tj_grp_mzon_gmz
IS 'Join table associating a measure with a grouping.';
COMMENT ON COLUMN public.tj_grp_mzon_gmz.gmz_mzon_id
IS 'Unique numeric identifier of the associated measurement';
COMMENT ON COLUMN public.tj_grp_mzon_gmz.gmz_grp_id
IS 'Numerical automatic identifier of the associated grouping';
COMMENT ON CONSTRAINT c_fk_grp_gmz ON public.tj_grp_mzon_gmz
IS 'The gmz_grp_id field necessarily corresponds to an existing grouping';
COMMENT ON CONSTRAINT c_fk_mzon_gmz ON public.tj_grp_mzon_gmz
IS 'The gmz_mzon_id field necessarily corresponds to an existing measurement';
CREATE INDEX x_btr_grp_gmz ON public.tj_grp_mzon_gmz
USING btree (gmz_grp_id);
COMMENT ON INDEX public.x_btr_grp_gmz
IS 'Foreign key index to speed up updates / deletion';
CREATE INDEX x_btr_mzon_gmz ON public.tj_grp_mzon_gmz
USING btree (gmz_mzon_id);
COMMENT ON INDEX public.x_btr_mzon_gmz
IS 'Foreign key index to speed up updates / deletion';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) |