Schema
Owner
postgres
Tablespace
(default)
Descriptions
There is no description for table modalite_diams
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
id_modalite |
serial |
|
nextval('modalite_id_modalite_seq'::regclass) |
|
|||
|
|
modalite |
varchar |
|
|
|
|
|
|
|
date_deb_mod |
date |
|
|
|
|
|
|
|
date_fin_mod |
date |
|
|
|
|
|
|
id_placette_mod |
integer |
|
|
|
|
|
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
id_placette_mod |
id_placette |
No Action |
No Action |
|
Immediate |
|
Check Constraints
There are no check constraints for table modalite_diams
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
id_placette_mod |
|
|
|
|
btree |
|
id_modalite |
|
Triggers
There are no triggers for table modalite_diams
Rules
There are no rules for table modalite_diams
Policies
There are no policies for table modalite_diams
Referenced
There are no tables referenced by table modalite_diams
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
-1 |
Pages |
0 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.modalite_diams (
id_modalite SERIAL,
modalite VARCHAR,
date_deb_mod DATE,
date_fin_mod DATE,
id_placette_mod INTEGER,
CONSTRAINT pmk_modalite PRIMARY KEY(id_modalite),
CONSTRAINT stk_placette_mod FOREIGN KEY (id_placette_mod)
REFERENCES public.placette_diams(id_placette)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
CREATE INDEX fki_stk_placette_mod ON public.modalite_diams
USING btree (id_placette_mod);
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |