Schema
Owner
postgres
Tablespace
(default)
Descriptions
There is no description for table placette_diams
Columns
PK | FK | Name | Data type | Not null | Unique | Inherited | Default | Description |
---|---|---|---|---|---|---|---|---|
|
id_placette |
serial |
|
nextval('placette_diams_id_placette_seq'::regclass) |
|
|||
|
|
usage |
varchar |
|
|
|
|
|
|
|
geom |
public.geometry |
|
|
|
|
|
|
id_parcelle_placette |
integer |
|
|
|
|
|
|
|
id_bloc_placette |
integer |
|
|
|
|
|
|
|
|
nom_placette |
varchar |
|
|
|
|
|
|
|
allee |
varchar |
|
|
|
|
|
Foreign Keys
Name | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|
id_bloc_placette |
id_bloc |
No Action |
No Action |
|
Immediate |
|
||
id_parcelle_placette |
id_parcelle |
No Action |
No Action |
|
Immediate |
|
Check Constraints
There are no check constraints for table placette_diams
Indices
Name | Type | Function | Columns | Primary Key | Unique | Description |
---|---|---|---|---|---|---|
btree |
|
id_parcelle_placette |
|
|
|
|
btree |
|
id_bloc_placette |
|
|
|
|
btree |
|
id_placette |
|
Triggers
There are no triggers for table placette_diams
Rules
There are no rules for table placette_diams
Policies
There are no policies for table placette_diams
Referenced
Table | Schema | Foreign Key | Columns | FK Table | FK Columns | Delete Action | Update Action | Deferrable | Check Time | Description |
---|---|---|---|---|---|---|---|---|---|---|
id_placette_mod |
id_placette |
No Action |
No Action |
|
Immediate |
|
Properties
Property | Value |
---|---|
Inherited From |
|
Rows |
18 |
Pages |
1 |
System |
|
Temporary |
|
With OID |
Definition
CREATE TABLE public.placette_diams (
id_placette SERIAL,
usage VARCHAR,
geom public.geometry,
id_parcelle_placette INTEGER,
id_bloc_placette INTEGER,
nom_placette VARCHAR,
allee VARCHAR,
CONSTRAINT pmk_placette PRIMARY KEY(id_placette),
CONSTRAINT stk_bloc_placette FOREIGN KEY (id_bloc_placette)
REFERENCES public.bloc_diams(id_bloc)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE,
CONSTRAINT stk_parcelle_placette FOREIGN KEY (id_parcelle_placette)
REFERENCES public.parcelle_diams(id_parcelle)
ON DELETE NO ACTION
ON UPDATE NO ACTION
NOT DEFERRABLE
) ;
CREATE INDEX fki_st_parcel ON public.placette_diams
USING btree (id_parcelle_placette);
CREATE INDEX fki_stk_bloc_placette ON public.placette_diams
USING btree (id_bloc_placette);
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |