Schema
Owner
woodseer
Tablespace
(default)
Descriptions
Join table associating a variable with a classification, a variable which can be multiclassed
Fields
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
cvar_var_id |
integer |
|
|
|
Unique numeric identifier of the variable |
|||
cvar_cla_id |
integer |
|
|
|
Unique numeric identifier of the classification |
Foreign Keys
Name | Fields | FK Table | FK Fields | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
cvar_cla_id |
cla_id |
No Action |
No Action |
|
Immediate |
The cvar_cla_id field must correspond to an existing variable classification |
||
cvar_var_id |
var_id |
No Action |
No Action |
|
Immediate |
The cvar_var_id field must correspond to an existing variable |
Check Constraints
There are no check constraints for table tj_classification_var_cvar
Indices
Name | Type | Function | Fields | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
cvar_cla_id, cvar_var_id |
|
|||
btree |
|
cvar_cla_id |
|
|
Foreign key index to speed up updates / deletion |
|
btree |
|
cvar_var_id |
|
|
Foreign key index to speed up updates / deletion |
Triggers
There are no triggers for table tj_classification_var_cvar
Rules
There are no rules for table tj_classification_var_cvar
Policies
There are no policies for table tj_classification_var_cvar
Referenced
There are no tables referenced by table tj_classification_var_cvar
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
0 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.tj_classification_var_cvar (
cvar_var_id INTEGER NOT NULL,
cvar_cla_id INTEGER NOT NULL,
CONSTRAINT tj_classification_var_cvar_pkey PRIMARY KEY(cvar_cla_id, cvar_var_id),
CONSTRAINT c_fk_cla_cvar FOREIGN KEY (cvar_cla_id)
REFERENCES public.tr_classification_cla(cla_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT c_fk_var_cvar FOREIGN KEY (cvar_var_id)
REFERENCES public.tr_variable_var(var_id)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
COMMENT ON TABLE public.tj_classification_var_cvar
IS 'Join table associating a variable with a classification, a variable which can be multiclassed';
COMMENT ON COLUMN public.tj_classification_var_cvar.cvar_var_id
IS 'Unique numeric identifier of the variable';
COMMENT ON COLUMN public.tj_classification_var_cvar.cvar_cla_id
IS 'Unique numeric identifier of the classification';
COMMENT ON CONSTRAINT c_fk_cla_cvar ON public.tj_classification_var_cvar
IS 'The cvar_cla_id field must correspond to an existing variable classification';
COMMENT ON CONSTRAINT c_fk_var_cvar ON public.tj_classification_var_cvar
IS 'The cvar_var_id field must correspond to an existing variable';
CREATE INDEX x_btr_fkey_cla_cvar ON public.tj_classification_var_cvar
USING btree (cvar_cla_id);
COMMENT ON INDEX public.x_btr_fkey_cla_cvar
IS 'Foreign key index to speed up updates / deletion';
CREATE INDEX x_btr_fkey_var_cvar ON public.tj_classification_var_cvar
USING btree (cvar_var_id);
COMMENT ON INDEX public.x_btr_fkey_var_cvar
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 |