Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| obj_id | varchar | 16 | tww_app.generate_oid('tww_od'::text, 'sia405pt_protection_tube'::text) | 
                                         | 
                                    
                                         | 
                                    INTERLIS STANDARD OID (with Postfix/Präfix), see www.interlis.ch  | 
                                |||||
| name_number | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||
| material | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||
| nominal_diameter | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||
| outside_diameter | int2 | 5 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||
| lenght | int2 | 5 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||
| installation_year | int2 | 5 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||
| horizontal_positioning | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||
| status | int4 | 10 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    Operating and planning status of the structure / Betriebs- bzw. Planungszustand des Bauwerks / Etat de fonctionnement et de planification de l’ouvrage  | 
                                ||||
| sur_plus_cover | numeric | 4,1 | √ | null | 
                                         | 
                                    
                                         | 
                                    yyy_mittlerer Wert eines Objektes / mittlerer Wert eines Objektes / xxx_mittlerer Wert eines Objektes  | 
                                ||||
| condition | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||
| remark | text | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    General remarks / Allgemeine Bemerkungen / Remarques générales  | 
                                ||||
| geometry3d_geometry | geometry | 2147483647 | √ | null | 
                                         | 
                                    
                                         | 
                                    |||||
| last_modification | timestamp | 29,6 | √ | now() | 
                                         | 
                                    
                                         | 
                                    Last modification / Letzte_Aenderung / Derniere_modification: INTERLIS_1_DATE  | 
                                ||||
| fk_dataowner | varchar | 16 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    Foreignkey to Metaattribute dataowner (as an organisation) - this is the person or body who is allowed to delete, change or maintain this object / Metaattribut Datenherr ist diejenige Person oder Stelle, die berechtigt ist, diesen Datensatz zu löschen, zu ändern bzw. zu verwalten / Maître des données gestionnaire de données, qui est la personne ou l’organisation autorisée pour gérer, modifier ou supprimer les données de cette table/classe  | 
                                ||||
| fk_provider | varchar | 16 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    Foreignkey to Metaattribute provider (as an organisation) - this is the person or body who delivered the data / Metaattribut Datenlieferant ist diejenige Person oder Stelle, die die Daten geliefert hat / FOURNISSEUR DES DONNEES Organisation qui crée l’enregistrement de ces données  | 
                                ||||
| fk_owner | varchar | 16 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    |||||
| fk_channel | varchar | 16 | √ | null | 
                                         | 
                                    
                                        
  | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| pkey_tww_od_sia405pt_protection_tube_obj_id | Primary key | Asc | obj_id | 
| in_od_sia405pt_protection_tube_name_number | Must be unique | Asc/Asc | name_number + fk_dataowner | 
| in_tww_sia405pt_protection_tube_geometry3d_geometry | Performance | Asc | geometry3d_geometry | 
Check Constraints
| Constraint Name | Constraint | 
|---|---|
| _condition_length_max_30 | ((char_length(condition) <= 30)) | 
| _remark_length_max_80 | ((char_length(remark) <= 80)) | 
| _name_number_length_max_40 | ((char_length(name_number) <= 40)) | 
| _nominal_diameter_length_max_10 | ((char_length(nominal_diameter) <= 10)) |