Table qwat.qwat_od.leak
pipe leaks

Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
id serial 10  √  nextval('qwat_od.leak_id_seq'::regclass)
fk_cause int4 10
leak_cause.id leak_fk_cause R
fk_pipe int4 10  √  null
pipe.id leak_fk_pipe R
widespread_damage bool 1
detection_date date 13  √  null
repair_date date 13  √  null
_repaired bool 1  √  null
address text 2147483647  √  null
pipe_replaced bool 1  √  null
description text 2147483647  √  null
repair text 2147483647  √  null
geometry geometry 2147483647  √  null
label_1_visible int2 5  √  1
visible.vl_code_int leak_label_1_visible R
label_1_x float8 17,17  √  null
label_1_y float8 17,17  √  null
label_1_rotation float8 17,17  √  null
label_1_text varchar 120  √  null
label_2_visible int2 5  √  1
visible.vl_code_int leak_label_2_visible R
label_2_x float8 17,17  √  null
label_2_y float8 17,17  √  null
label_2_rotation float8 17,17  √  null
label_2_text varchar 120  √  null

Table contained 219 rows at mar. mars 21 17:52 CET 2017

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc leak_pkey
fk_cause Performance Asc fki_leak_fk_cause
fk_pipe Performance Asc fki_leak_fk_pipe
label_1_visible Performance Asc fki_leak_label_1_visible
label_2_visible Performance Asc fki_leak_label_2_visible

Close relationships  within of separation: