db_venik
Previous topic Chapter index Next topic

Table: genre

 

 

Schema

public

 

Owner

albenard

 

Tablespace

(default)

 

Descriptions

There is no description for table genre

 

Columns

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

idgenre

serial

 

nextval('genre_idgenre_seq'::regclass)

 

 

 

nom

varchar(50)

 

 

 

 

 

commentaire

varchar(500)

 

 

 

 

 

 

 

date_creation

date

 

 

 

 

 

 

 

date_maj

date

 

 

 

 

 

 

 

code

varchar(2)

 

 

Genre sur 2 caracteres (sinon probleme de decomposition du code genre-espece)

 

Foreign Keys

There are no foreign keys for table genre

 

Check Constraints

There are no check constraints for table genre

 

Indices

Name

Type

Function

Columns

Primary Key

Unique

Description

genre_code_key

btree

 

code

 

 

genre_nom_key

btree

 

nom

 

 

pk_genre

btree

 

idgenre

 

 

Triggers

There are no triggers for table genre

 

Rules

There are no rules for table genre

 

Policies

There are no policies for table genre

 

Referenced

Table

Schema

Foreign Key

Columns

FK Table

FK Columns

Delete Action

Update Action

Deferrable

Check Time

Description

espece

public

fk_espece_genre

idgenre

public.genre

idgenre

No Action

No Action

 

Immediate

 

 

Properties

Property

Value

Inherited From

 

Rows

37

Pages

1

System

 

Temporary

 

With OID

 

Definition

CREATE TABLE public.genre (
 idgenre SERIAL,
 nom VARCHAR(50) NOT NULL,
 commentaire VARCHAR(500),
 date_creation DATE,
 date_maj DATE,
 code VARCHAR(2) NOT NULL,
 CONSTRAINT genre_code_key UNIQUE(code),
 CONSTRAINT genre_nom_key UNIQUE(nom),
 CONSTRAINT pk_genre PRIMARY KEY(idgenre)
) ;

COMMENT ON COLUMN public.genre.code
IS 'Genre sur 2 caracteres (sinon probleme de decomposition du code genre-espece)';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com)
Previous topic Chapter index Next topic