db_globoxylo
Previous topic Chapter index Next topic

Table: tj_classifyvar_cvar

 

 

Schema

public

 

Owner

globoxylo

 

Tablespace

(default)

 

Descriptions

Join table associating a variable with a classification, a variable which can be multiclassed

 

Columns

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

cvar_var_id

integer

 

 

 

Unique numeric identifier of the variable

cvar_rank_id

integer

 

 

 

Numeric automatic classification identifier

 

Foreign Keys

Name

Columns

FK Table

FK Columns

Delete Action

Update Action

Deferrable

Check Time

Description

c_fk_rank_cvar

cvar_rank_id

public.tr_ranking_rank

rank_id

No Action

No Action

 

Immediate

The cvar_rank_id field necessarily corresponds to an existing ranking

c_fk_var_cvar

cvar_var_id

public.tr_variable_var

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_classifyvar_cvar

 

Indices

Name

Type

Function

Columns

Primary Key

Unique

Description

tj_classifyvar_cvar_pkey

btree

 

cvar_var_id, cvar_rank_id

 

x_btr_rank_cvar

btree

 

cvar_rank_id

 

 

Foreign key index to speed up updates / deletion

x_btr_var_cvar

btree

 

cvar_var_id

 

 

Foreign key index to speed up updates / deletion

 

Triggers

There are no triggers for table tj_classifyvar_cvar

 

Rules

There are no rules for table tj_classifyvar_cvar

 

Policies

There are no policies for table tj_classifyvar_cvar

 

Referenced

There are no tables referenced by table tj_classifyvar_cvar

 

Properties

Property

Value

Inherited From

 

Rows

-1

Pages

0

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.tj_classifyvar_cvar (
 cvar_var_id INTEGER NOT NULL,
 cvar_rank_id INTEGER NOT NULL,
 CONSTRAINT tj_classifyvar_cvar_pkey PRIMARY KEY(cvar_var_id, cvar_rank_id),
 CONSTRAINT c_fk_rank_cvar FOREIGN KEY (cvar_rank_id)
   REFERENCES public.tr_ranking_rank(rank_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_classifyvar_cvar
IS 'Join table associating a variable with a classification, a variable which can be multiclassed';

COMMENT ON COLUMN public.tj_classifyvar_cvar.cvar_var_id
IS 'Unique numeric identifier of the variable';

COMMENT ON COLUMN public.tj_classifyvar_cvar.cvar_rank_id
IS 'Numeric automatic classification identifier';

COMMENT ON CONSTRAINT c_fk_rank_cvar ON public.tj_classifyvar_cvar
IS 'The cvar_rank_id field necessarily corresponds to an existing ranking';

COMMENT ON CONSTRAINT c_fk_var_cvar ON public.tj_classifyvar_cvar
IS 'The cvar_var_id field must correspond to an existing variable';

CREATE INDEX x_btr_rank_cvar ON public.tj_classifyvar_cvar
 USING btree (cvar_rank_id);

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

CREATE INDEX x_btr_var_cvar ON public.tj_classifyvar_cvar
 USING btree (cvar_var_id);

COMMENT ON INDEX public.x_btr_var_cvar
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