seiscomp3=> \l
                                  List of databases
   Name    |  Owner   | Encoding |  Collation  |    Ctype    |   Access privileges
-----------+----------+----------+-------------+-------------+-----------------------
 osdb      | geotool  | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 postgres  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 seiscomp3 | sysop    | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 template0 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
                                                             : postgres=CTc/postgres
 template1 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
                                                             : postgres=CTc/postgres
(5 rows)

seiscomp3=> \dn
        List of schemas
        Name        |  Owner
--------------------+----------
 information_schema | postgres
 pg_catalog         | postgres
 pg_toast           | postgres
 pg_toast_temp_1    | postgres
 public             | postgres
(5 rows)

seiscomp3=> \du
            List of roles
 Role name | Attributes  | Member of
-----------+-------------+-----------
 geotool   |             | {}
 postgres  | Superuser   | {}
           : Create role
           : Create DB
 sysop     |             | {}

seiscomp3=> \z
                                          Access privileges
 Schema |               Name                |   Type   | Access privileges | Column access privileges
--------+-----------------------------------+----------+-------------------+--------------------------
 public | access                            | table    |                   |
 public | amplitude                         | table    |                   |
 public | amplitudereference                | table    |                   |
 public | arclinkrequest                    | table    |                   |
 public | arclinkrequestline                | table    |                   |
 public | arclinkstatusline                 | table    |                   |
 public | arclinkuser                       | table    |                   |
 public | arrival                           | table    |                   |
 public | auxdevice                         | table    |                   |
 public | auxsource                         | table    |                   |
 public | auxstream                         | table    |                   |
 public | comment                           | table    |                   |
 public | compositetime                     | table    |                   |
 public | configmodule                      | table    |                   |
 public | configstation                     | table    |                   |
 public | datalogger                        | table    |                   |
 public | dataloggercalibration             | table    |                   |
 public | dataused                          | table    |                   |
 public | decimation                        | table    |                   |
 public | event                             | table    |                   |
 public | eventdescription                  | table    |                   |
 public | focalmechanism                    | table    |                   |
 public | focalmechanismreference           | table    |                   |
 public | journalentry                      | table    |                   |
 public | magnitude                         | table    |                   |
 public | meta                              | table    |                   |
 public | momenttensor                      | table    |                   |
 public | momenttensorcomponentcontribution | table    |                   |
 public | momenttensorphasesetting          | table    |                   |
 public | momenttensorstationcontribution   | table    |                   |
 public | network                           | table    |                   |
 public | object                            | table    |                   |
 public | object_seq                        | sequence |                   |
 public | origin                            | table    |                   |
 public | originreference                   | table    |                   |
 public | outage                            | table    |                   |
 public | parameter                         | table    |                   |
 public | parameterset                      | table    |                   |
 public | pick                              | table    |                   |
 public | pickreference                     | table    |                   |
 public | publicobject                      | table    |                   |
 public | qclog                             | table    |                   |
 public | reading                           | table    |                   |
 public | responsefap                       | table    |                   |
 public | responsefir                       | table    |                   |
 public | responsepaz                       | table    |                   |
 public | responsepolynomial                | table    |                   |
 public | route                             | table    |                   |
 public | routearclink                      | table    |                   |
 public | routeseedlink                     | table    |                   |
 public | sensor                            | table    |                   |
 public | sensorcalibration                 | table    |                   |
 public | sensorlocation                    | table    |                   |
 public | setup                             | table    |                   |
 public | station                           | table    |                   |
 public | stationgroup                      | table    |                   |
 public | stationmagnitude                  | table    |                   |
 public | stationmagnitudecontribution      | table    |                   |
 public | stationreference                  | table    |                   |
 public | stream                            | table    |                   |
 public | waveformquality                   | table    |                   |
(61 rows)

seiscomp3=> \d access
                    Table "public.access"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_networkcode  | character varying(8)        | not null
 m_stationcode  | character varying(8)        | not null
 m_locationcode | character varying(8)        | not null
 m_streamcode   | character varying(8)        | not null
 m_user         | character varying(50)       | not null
 m_start        | timestamp without time zone | not null
 m_end          | timestamp without time zone |
Indexes:
    "access_pkey" PRIMARY KEY, btree (_oid)
    "access__parent_oid_key" UNIQUE, btree (_parent_oid, m_networkcode, m_stationcode, m_locationcode, m_streamcode, m_user, m_start)
    "access__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "access__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    access_update BEFORE UPDATE ON access FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d amplitude
                                 Table "public.amplitude"
               Column               |            Type             |       Modifiers
------------------------------------+-----------------------------+------------------------
 _oid                               | bigint                      | not null
 _parent_oid                        | bigint                      | not null
 _last_modified                     | timestamp without time zone | default now()
 m_type                             | character varying(16)       | not null
 m_amplitude_value                  | double precision            |
 m_amplitude_uncertainty            | double precision            |
 m_amplitude_loweruncertainty       | double precision            |
 m_amplitude_upperuncertainty       | double precision            |
 m_amplitude_confidencelevel        | double precision            |
 m_amplitude_used                   | boolean                     | not null default false
 m_timewindow_reference             | timestamp without time zone |
 m_timewindow_reference_ms          | integer                     |
 m_timewindow_begin                 | double precision            |
 m_timewindow_end                   | double precision            |
 m_timewindow_used                  | boolean                     | not null default false
 m_period_value                     | double precision            |
 m_period_uncertainty               | double precision            |
 m_period_loweruncertainty          | double precision            |
 m_period_upperuncertainty          | double precision            |
 m_period_confidencelevel           | double precision            |
 m_period_used                      | boolean                     | not null default false
 m_snr                              | double precision            |
 m_unit                             | character varying(255)      |
 m_pickid                           | character varying(255)      |
 m_waveformid_networkcode           | character varying(8)        |
 m_waveformid_stationcode           | character varying(8)        |
 m_waveformid_locationcode          | character varying(8)        |
 m_waveformid_channelcode           | character varying(8)        |
 m_waveformid_resourceuri           | character varying(255)      |
 m_waveformid_used                  | boolean                     | not null default false
 m_filterid                         | character varying(255)      |
 m_methodid                         | character varying(255)      |
 m_scalingtime_value                | timestamp without time zone |
 m_scalingtime_value_ms             | integer                     |
 m_scalingtime_uncertainty          | double precision            |
 m_scalingtime_loweruncertainty     | double precision            |
 m_scalingtime_upperuncertainty     | double precision            |
 m_scalingtime_confidencelevel      | double precision            |
 m_scalingtime_used                 | boolean                     | not null default false
 m_magnitudehint                    | character varying(16)       |
 m_evaluationmode                   | character varying(64)       |
 m_creationinfo_agencyid            | character varying(64)       |
 m_creationinfo_agencyuri           | character varying(255)      |
 m_creationinfo_author              | character varying(128)      |
 m_creationinfo_authoruri           | character varying(255)      |
 m_creationinfo_creationtime        | timestamp without time zone |
 m_creationinfo_creationtime_ms     | integer                     |
 m_creationinfo_modificationtime    | timestamp without time zone |
 m_creationinfo_modificationtime_ms | integer                     |
 m_creationinfo_version             | character varying(64)       |
 m_creationinfo_used                | boolean                     | not null default false
Indexes:
    "amplitude_pkey" PRIMARY KEY, btree (_oid)
    "amplitude__parent_oid" btree (_parent_oid)
    "amplitude_m_pickid" btree (m_pickid)
    "amplitude_m_timewindow_reference" btree (m_timewindow_reference)
    "amplitude_m_timewindow_reference_ms" btree (m_timewindow_reference_ms)
Foreign-key constraints:
    "amplitude__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    amplitude_update BEFORE UPDATE ON amplitude FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d amplitudereference
              Table "public.amplitudereference"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_amplitudeid  | character varying(255)      | not null
Indexes:
    "amplitudereference_pkey" PRIMARY KEY, btree (_oid)
    "amplitudereference__parent_oid_key" UNIQUE, btree (_parent_oid, m_amplitudeid)
    "amplitudereference__parent_oid" btree (_parent_oid)
    "amplitudereference_m_amplitudeid" btree (m_amplitudeid)
Foreign-key constraints:
    "amplitudereference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    amplitudereference_update BEFORE UPDATE ON amplitudereference FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d arclinkrequest
                           Table "public.arclinkrequest"
           Column            |            Type             |       Modifiers
-----------------------------+-----------------------------+------------------------
 _oid                        | bigint                      | not null
 _parent_oid                 | bigint                      | not null
 _last_modified              | timestamp without time zone | default now()
 m_requestid                 | character varying(255)      | not null
 m_userid                    | character varying(80)       | not null
 m_userip                    | character varying(16)       |
 m_clientid                  | character varying(80)       |
 m_clientip                  | character varying(16)       |
 m_type                      | character varying(80)       | not null
 m_created                   | timestamp without time zone | not null
 m_created_ms                | integer                     | not null
 m_status                    | character varying(80)       | not null
 m_message                   | character varying(160)      |
 m_label                     | character varying(80)       |
 m_header                    | character varying(160)      |
 m_summary_oklinecount       | integer                     |
 m_summary_totallinecount    | integer                     |
 m_summary_averagetimewindow | integer                     |
 m_summary_used              | boolean                     | not null default false
Indexes:
    "arclinkrequest_pkey" PRIMARY KEY, btree (_oid)
    "arclinkrequest__parent_oid_key" UNIQUE, btree (_parent_oid, m_created, m_created_ms, m_requestid, m_userid)
    "arclinkrequest__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "arclinkrequest__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    arclinkrequest_update BEFORE UPDATE ON arclinkrequest FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d arclinkrequestline
                   Table "public.arclinkrequestline"
         Column          |            Type             |   Modifiers
-------------------------+-----------------------------+---------------
 _oid                    | bigint                      | not null
 _parent_oid             | bigint                      | not null
 _last_modified          | timestamp without time zone | default now()
 m_start                 | timestamp without time zone | not null
 m_start_ms              | integer                     | not null
 m_end                   | timestamp without time zone | not null
 m_end_ms                | integer                     | not null
 m_streamid_networkcode  | character varying(8)        | not null
 m_streamid_stationcode  | character varying(8)        | not null
 m_streamid_locationcode | character varying(8)        |
 m_streamid_channelcode  | character varying(8)        |
 m_streamid_resourceuri  | character varying(255)      |
 m_restricted            | boolean                     |
 m_shared                | boolean                     |
 m_netclass              | character varying(1)        |
 m_constraints           | character varying(160)      |
 m_status_type           | character varying(80)       | not null
 m_status_status         | character varying(160)      | not null
 m_status_size           | integer                     |
 m_status_message        | character varying(160)      |
 m_status_volumeid       | character varying(80)       |
Indexes:
    "arclinkrequestline_pkey" PRIMARY KEY, btree (_oid)
    "arclinkrequestline__parent_oid_key" UNIQUE, btree (_parent_oid, m_start, m_start_ms, m_end, m_end_ms, m_streamid_networkcode, m_streamid_stationcode, m_streamid_locationc
ode, m_streamid_channelcode, m_streamid_resourceuri)
    "arclinkrequestline__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "arclinkrequestline__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    arclinkrequestline_update BEFORE UPDATE ON arclinkrequestline FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d arclinkstatusline
               Table "public.arclinkstatusline"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_type         | character varying(80)       | not null
 m_status       | character varying(160)      | not null
 m_size         | integer                     |
 m_message      | character varying(160)      |
 m_volumeid     | character varying(80)       |
Indexes:
    "arclinkstatusline_pkey" PRIMARY KEY, btree (_oid)
    "arclinkstatusline__parent_oid_key" UNIQUE, btree (_parent_oid, m_volumeid, m_type, m_status)
    "arclinkstatusline__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "arclinkstatusline__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    arclinkstatusline_update BEFORE UPDATE ON arclinkstatusline FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d arclinkuser
                  Table "public.arclinkuser"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_name         | character varying(80)       | not null
 m_email        | character varying(80)       |
 m_password     | character varying(80)       |
Indexes:
    "arclinkuser_pkey" PRIMARY KEY, btree (_oid)
    "arclinkuser__parent_oid_key" UNIQUE, btree (_parent_oid, m_name, m_email)
    "arclinkuser__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "arclinkuser__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    arclinkuser_update BEFORE UPDATE ON arclinkuser FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d arrival
                                  Table "public.arrival"
               Column               |            Type             |       Modifiers
------------------------------------+-----------------------------+------------------------
 _oid                               | bigint                      | not null
 _parent_oid                        | bigint                      | not null
 _last_modified                     | timestamp without time zone | default now()
 m_pickid                           | character varying(255)      | not null
 m_phase_code                       | character varying(32)       | not null
 m_timecorrection                   | double precision            |
 m_azimuth                          | double precision            |
 m_distance                         | double precision            |
 m_takeoffangle                     | double precision            |
 m_timeresidual                     | double precision            |
 m_horizontalslownessresidual       | double precision            |
 m_backazimuthresidual              | double precision            |
 m_timeused                         | boolean                     |
 m_horizontalslownessused           | boolean                     |
 m_backazimuthused                  | boolean                     |
 m_weight                           | double precision            |
 m_earthmodelid                     | character varying(255)      |
 m_preliminary                      | boolean                     |
 m_creationinfo_agencyid            | character varying(64)       |
 m_creationinfo_agencyuri           | character varying(255)      |
 m_creationinfo_author              | character varying(128)      |
 m_creationinfo_authoruri           | character varying(255)      |
 m_creationinfo_creationtime        | timestamp without time zone |
 m_creationinfo_creationtime_ms     | integer                     |
 m_creationinfo_modificationtime    | timestamp without time zone |
 m_creationinfo_modificationtime_ms | integer                     |
 m_creationinfo_version             | character varying(64)       |
 m_creationinfo_used                | boolean                     | not null default false
Indexes:
    "arrival_pkey" PRIMARY KEY, btree (_oid)
    "arrival__parent_oid_key" UNIQUE, btree (_parent_oid, m_pickid)
    "arrival__parent_oid" btree (_parent_oid)
    "arrival_m_pickid" btree (m_pickid)
Foreign-key constraints:
    "arrival__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    arrival_update BEFORE UPDATE ON arrival FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d auxdevice
                        Table "public.auxdevice"
      Column      |            Type             |       Modifiers
------------------+-----------------------------+------------------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_name           | character varying(80)       | not null
 m_description    | character varying(80)       |
 m_model          | character varying(80)       |
 m_manufacturer   | character varying(50)       |
 m_remark_content | bytea                       |
 m_remark_used    | boolean                     | not null default false
Indexes:
    "auxdevice_pkey" PRIMARY KEY, btree (_oid)
    "auxdevice__parent_oid_key" UNIQUE, btree (_parent_oid, m_name)
    "auxdevice__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "auxdevice__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    auxdevice_update BEFORE UPDATE ON auxdevice FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d auxsource
                            Table "public.auxsource"
         Column          |            Type             |       Modifiers
-------------------------+-----------------------------+------------------------
 _oid                    | bigint                      | not null
 _parent_oid             | bigint                      | not null
 _last_modified          | timestamp without time zone | default now()
 m_name                  | character varying(80)       | not null
 m_description           | character varying(80)       |
 m_unit                  | character varying(20)       |
 m_conversion            | character varying(80)       |
 m_sampleratenumerator   | integer                     |
 m_sampleratedenominator | integer                     |
 m_remark_content        | bytea                       |
 m_remark_used           | boolean                     | not null default false
Indexes:
    "auxsource_pkey" PRIMARY KEY, btree (_oid)
    "auxsource__parent_oid_key" UNIQUE, btree (_parent_oid, m_name)
    "auxsource__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "auxsource__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    auxsource_update BEFORE UPDATE ON auxsource FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d auxstream
                      Table "public.auxstream"
        Column        |            Type             |   Modifiers
----------------------+-----------------------------+---------------
 _oid                 | bigint                      | not null
 _parent_oid          | bigint                      | not null
 _last_modified       | timestamp without time zone | default now()
 m_code               | character varying(3)        | not null
 m_start              | timestamp without time zone | not null
 m_end                | timestamp without time zone |
 m_device             | character varying(255)      |
 m_deviceserialnumber | character varying(80)       |
 m_source             | character varying(80)       |
 m_format             | character varying(20)       |
 m_flags              | character varying(20)       |
 m_restricted         | boolean                     |
 m_shared             | boolean                     |
Indexes:
    "auxstream_pkey" PRIMARY KEY, btree (_oid)
    "auxstream__parent_oid_key" UNIQUE, btree (_parent_oid, m_code, m_start)
    "auxstream__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "auxstream__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    auxstream_update BEFORE UPDATE ON auxstream FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d comment
                                  Table "public.comment"
               Column               |            Type             |       Modifiers
------------------------------------+-----------------------------+------------------------
 _oid                               | bigint                      | not null
 _parent_oid                        | bigint                      | not null
 _last_modified                     | timestamp without time zone | default now()
 m_text                             | bytea                       | not null
 m_id                               | character varying(255)      |
 m_creationinfo_agencyid            | character varying(64)       |
 m_creationinfo_agencyuri           | character varying(255)      |
 m_creationinfo_author              | character varying(128)      |
 m_creationinfo_authoruri           | character varying(255)      |
 m_creationinfo_creationtime        | timestamp without time zone |
 m_creationinfo_creationtime_ms     | integer                     |
 m_creationinfo_modificationtime    | timestamp without time zone |
 m_creationinfo_modificationtime_ms | integer                     |
 m_creationinfo_version             | character varying(64)       |
 m_creationinfo_used                | boolean                     | not null default false
Indexes:
    "comment_pkey" PRIMARY KEY, btree (_oid)
    "comment__parent_oid_key" UNIQUE, btree (_parent_oid, m_id)
    "comment__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "comment__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    comment_update BEFORE UPDATE ON comment FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d compositetime
                           Table "public.compositetime"
          Column           |            Type             |       Modifiers
---------------------------+-----------------------------+------------------------
 _oid                      | bigint                      | not null
 _parent_oid               | bigint                      | not null
 _last_modified            | timestamp without time zone | default now()
 m_year_value              | integer                     |
 m_year_uncertainty        | integer                     |
 m_year_loweruncertainty   | integer                     |
 m_year_upperuncertainty   | integer                     |
 m_year_confidencelevel    | double precision            |
 m_year_used               | boolean                     | not null default false
 m_month_value             | integer                     |
 m_month_uncertainty       | integer                     |
 m_month_loweruncertainty  | integer                     |
 m_month_upperuncertainty  | integer                     |
 m_month_confidencelevel   | double precision            |
 m_month_used              | boolean                     | not null default false
 m_day_value               | integer                     |
 m_day_uncertainty         | integer                     |
 m_day_loweruncertainty    | integer                     |
 m_day_upperuncertainty    | integer                     |
 m_day_confidencelevel     | double precision            |
 m_day_used                | boolean                     | not null default false
 m_hour_value              | integer                     |
 m_hour_uncertainty        | integer                     |
 m_hour_loweruncertainty   | integer                     |
 m_hour_upperuncertainty   | integer                     |
 m_hour_confidencelevel    | double precision            |
 m_hour_used               | boolean                     | not null default false
 m_minute_value            | integer                     |
 m_minute_uncertainty      | integer                     |
 m_minute_loweruncertainty | integer                     |
 m_minute_upperuncertainty | integer                     |
 m_minute_confidencelevel  | double precision            |
 m_minute_used             | boolean                     | not null default false
 m_second_value            | double precision            |
 m_second_uncertainty      | double precision            |
 m_second_loweruncertainty | double precision            |
 m_second_upperuncertainty | double precision            |
 m_second_confidencelevel  | double precision            |
 m_second_used             | boolean                     | not null default false
Indexes:
    "compositetime_pkey" PRIMARY KEY, btree (_oid)
    "compositetime__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "compositetime__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    compositetime_update BEFORE UPDATE ON compositetime FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d configmodule
                  Table "public.configmodule"
      Column      |            Type             |   Modifiers
------------------+-----------------------------+---------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_name           | character varying(20)       | not null
 m_parametersetid | character varying(255)      |
 m_enabled        | boolean                     | not null
Indexes:
    "configmodule_pkey" PRIMARY KEY, btree (_oid)
    "configmodule__parent_oid" btree (_parent_oid)
    "configmodule_m_parametersetid" btree (m_parametersetid)
Foreign-key constraints:
    "configmodule__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    configmodule_update BEFORE UPDATE ON configmodule FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d configstation
                               Table "public.configstation"
               Column               |            Type             |       Modifiers
------------------------------------+-----------------------------+------------------------
 _oid                               | bigint                      | not null
 _parent_oid                        | bigint                      | not null
 _last_modified                     | timestamp without time zone | default now()
 m_networkcode                      | character varying(8)        | not null
 m_stationcode                      | character varying(8)        | not null
 m_enabled                          | boolean                     | not null
 m_creationinfo_agencyid            | character varying(64)       |
 m_creationinfo_agencyuri           | character varying(255)      |
 m_creationinfo_author              | character varying(128)      |
 m_creationinfo_authoruri           | character varying(255)      |
 m_creationinfo_creationtime        | timestamp without time zone |
 m_creationinfo_creationtime_ms     | integer                     |
 m_creationinfo_modificationtime    | timestamp without time zone |
 m_creationinfo_modificationtime_ms | integer                     |
 m_creationinfo_version             | character varying(64)       |
 m_creationinfo_used                | boolean                     | not null default false
Indexes:
    "configstation_pkey" PRIMARY KEY, btree (_oid)
    "configstation__parent_oid_key" UNIQUE, btree (_parent_oid, m_networkcode, m_stationcode)
    "configstation__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "configstation__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    configstation_update BEFORE UPDATE ON configstation FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d datalogger
                           Table "public.datalogger"
         Column          |            Type             |       Modifiers
-------------------------+-----------------------------+------------------------
 _oid                    | bigint                      | not null
 _parent_oid             | bigint                      | not null
 _last_modified          | timestamp without time zone | default now()
 m_name                  | character varying(255)      |
 m_description           | character varying(80)       |
 m_digitizermodel        | character varying(80)       |
 m_digitizermanufacturer | character varying(50)       |
 m_recordermodel         | character varying(80)       |
 m_recordermanufacturer  | character varying(50)       |
 m_clockmodel            | character varying(80)       |
 m_clockmanufacturer     | character varying(50)       |
 m_clocktype             | character varying(10)       |
 m_gain                  | double precision            |
 m_maxclockdrift         | double precision            |
 m_remark_content        | bytea                       |
 m_remark_used           | boolean                     | not null default false
Indexes:
    "datalogger_pkey" PRIMARY KEY, btree (_oid)
    "datalogger__parent_oid_key" UNIQUE, btree (_parent_oid, m_name)
    "datalogger__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "datalogger__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    datalogger_update BEFORE UPDATE ON datalogger FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d dataloggercalibration
                  Table "public.dataloggercalibration"
      Column      |            Type             |       Modifiers
------------------+-----------------------------+------------------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_serialnumber   | character varying(80)       | not null
 m_channel        | integer                     | not null
 m_start          | timestamp without time zone | not null
 m_end            | timestamp without time zone |
 m_gain           | double precision            |
 m_gainfrequency  | double precision            |
 m_remark_content | bytea                       |
 m_remark_used    | boolean                     | not null default false
Indexes:
    "dataloggercalibration_pkey" PRIMARY KEY, btree (_oid)
    "dataloggercalibration__parent_oid_key" UNIQUE, btree (_parent_oid, m_serialnumber, m_channel, m_start)
    "dataloggercalibration__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "dataloggercalibration__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    dataloggercalibration_update BEFORE UPDATE ON dataloggercalibration FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d dataused
                    Table "public.dataused"
      Column      |            Type             |   Modifiers
------------------+-----------------------------+---------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_wavetype       | character varying(64)       | not null
 m_stationcount   | integer                     | not null
 m_componentcount | integer                     | not null
 m_shortestperiod | double precision            |
Indexes:
    "dataused_pkey" PRIMARY KEY, btree (_oid)
    "dataused__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "dataused__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    dataused_update BEFORE UPDATE ON dataused FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d decimation
                              Table "public.decimation"
            Column             |            Type             |       Modifiers
-------------------------------+-----------------------------+------------------------
 _oid                          | bigint                      | not null
 _parent_oid                   | bigint                      | not null
 _last_modified                | timestamp without time zone | default now()
 m_sampleratenumerator         | integer                     | not null
 m_sampleratedenominator       | integer                     | not null
 m_analoguefilterchain_content | bytea                       |
 m_analoguefilterchain_used    | boolean                     | not null default false
 m_digitalfilterchain_content  | bytea                       |
 m_digitalfilterchain_used     | boolean                     | not null default false
Indexes:
    "decimation_pkey" PRIMARY KEY, btree (_oid)
    "decimation__parent_oid_key" UNIQUE, btree (_parent_oid, m_sampleratenumerator, m_sampleratedenominator)
    "decimation__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "decimation__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    decimation_update BEFORE UPDATE ON decimation FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d event
                                   Table "public.event"
               Column               |            Type             |       Modifiers
------------------------------------+-----------------------------+------------------------
 _oid                               | bigint                      | not null
 _parent_oid                        | bigint                      | not null
 _last_modified                     | timestamp without time zone | default now()
 m_preferredoriginid                | character varying(255)      |
 m_preferredmagnitudeid             | character varying(255)      |
 m_preferredfocalmechanismid        | character varying(255)      |
 m_type                             | character varying(64)       |
 m_typecertainty                    | character varying(64)       |
 m_creationinfo_agencyid            | character varying(64)       |
 m_creationinfo_agencyuri           | character varying(255)      |
 m_creationinfo_author              | character varying(128)      |
 m_creationinfo_authoruri           | character varying(255)      |
 m_creationinfo_creationtime        | timestamp without time zone |
 m_creationinfo_creationtime_ms     | integer                     |
 m_creationinfo_modificationtime    | timestamp without time zone |
 m_creationinfo_modificationtime_ms | integer                     |
 m_creationinfo_version             | character varying(64)       |
 m_creationinfo_used                | boolean                     | not null default false
Indexes:
    "event_pkey" PRIMARY KEY, btree (_oid)
    "event__parent_oid" btree (_parent_oid)
    "event_m_preferredfocalmechanismid" btree (m_preferredfocalmechanismid)
    "event_m_preferredmagnitudeid" btree (m_preferredmagnitudeid)
    "event_m_preferredoriginid" btree (m_preferredoriginid)
Foreign-key constraints:
    "event__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    event_update BEFORE UPDATE ON event FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d eventdescription
               Table "public.eventdescription"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_text         | character varying(128)      | not null
 m_type         | character varying(64)       | not null
Indexes:
    "eventdescription_pkey" PRIMARY KEY, btree (_oid)
    "eventdescription__parent_oid_key" UNIQUE, btree (_parent_oid, m_type)
    "eventdescription__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "eventdescription__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    eventdescription_update BEFORE UPDATE ON eventdescription FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d focalmechanism
                                      Table "public.focalmechanism"
                      Column                       |            Type             |       Modifiers
---------------------------------------------------+-----------------------------+------------------------
 _oid                                              | bigint                      | not null
 _parent_oid                                       | bigint                      | not null
 _last_modified                                    | timestamp without time zone | default now()
 m_triggeringoriginid                              | character varying(255)      |
 m_nodalplanes_nodalplane1_strike_value            | double precision            |
 m_nodalplanes_nodalplane1_strike_uncertainty      | double precision            |
 m_nodalplanes_nodalplane1_strike_loweruncertainty | double precision            |
 m_nodalplanes_nodalplane1_strike_upperuncertainty | double precision            |
 m_nodalplanes_nodalplane1_strike_confidencelevel  | double precision            |
 m_nodalplanes_nodalplane1_dip_value               | double precision            |
 m_nodalplanes_nodalplane1_dip_uncertainty         | double precision            |
 m_nodalplanes_nodalplane1_dip_loweruncertainty    | double precision            |
 m_nodalplanes_nodalplane1_dip_upperuncertainty    | double precision            |
 m_nodalplanes_nodalplane1_dip_confidencelevel     | double precision            |
 m_nodalplanes_nodalplane1_rake_value              | double precision            |
 m_nodalplanes_nodalplane1_rake_uncertainty        | double precision            |
 m_nodalplanes_nodalplane1_rake_loweruncertainty   | double precision            |
 m_nodalplanes_nodalplane1_rake_upperuncertainty   | double precision            |
 m_nodalplanes_nodalplane1_rake_confidencelevel    | double precision            |
 m_nodalplanes_nodalplane1_used                    | boolean                     | not null default false
 m_nodalplanes_nodalplane2_strike_value            | double precision            |
 m_nodalplanes_nodalplane2_strike_uncertainty      | double precision            |
 m_nodalplanes_nodalplane2_strike_loweruncertainty | double precision            |
 m_nodalplanes_nodalplane2_strike_upperuncertainty | double precision            |
 m_nodalplanes_nodalplane2_strike_confidencelevel  | double precision            |
 m_nodalplanes_nodalplane2_dip_value               | double precision            |
 m_nodalplanes_nodalplane2_dip_uncertainty         | double precision            |
 m_nodalplanes_nodalplane2_dip_loweruncertainty    | double precision            |
 m_nodalplanes_nodalplane2_dip_upperuncertainty    | double precision            |
 m_nodalplanes_nodalplane2_dip_confidencelevel     | double precision            |
 m_nodalplanes_nodalplane2_rake_value              | double precision            |
 m_nodalplanes_nodalplane2_rake_uncertainty        | double precision            |
 m_nodalplanes_nodalplane2_rake_loweruncertainty   | double precision            |
 m_nodalplanes_nodalplane2_rake_upperuncertainty   | double precision            |
 m_nodalplanes_nodalplane2_rake_confidencelevel    | double precision            |
 m_nodalplanes_nodalplane2_used                    | boolean                     | not null default false
 m_nodalplanes_preferredplane                      | integer                     |
 m_nodalplanes_used                                | boolean                     | not null default false
 m_principalaxes_taxis_azimuth_value               | double precision            |
 m_principalaxes_taxis_azimuth_uncertainty         | double precision            |
 m_principalaxes_taxis_azimuth_loweruncertainty    | double precision            |
 m_principalaxes_taxis_azimuth_upperuncertainty    | double precision            |
 m_principalaxes_taxis_azimuth_confidencelevel     | double precision            |
 m_principalaxes_taxis_plunge_value                | double precision            |
 m_principalaxes_taxis_plunge_uncertainty          | double precision            |
 m_principalaxes_taxis_plunge_loweruncertainty     | double precision            |
 m_principalaxes_taxis_plunge_upperuncertainty     | double precision            |
 m_principalaxes_taxis_plunge_confidencelevel      | double precision            |
 m_principalaxes_taxis_length_value                | double precision            |
 m_principalaxes_taxis_length_uncertainty          | double precision            |
 m_principalaxes_taxis_length_loweruncertainty     | double precision            |
 m_principalaxes_taxis_length_upperuncertainty     | double precision            |
 m_principalaxes_taxis_length_confidencelevel      | double precision            |
 m_principalaxes_paxis_azimuth_value               | double precision            |
 m_principalaxes_paxis_azimuth_uncertainty         | double precision            |
 m_principalaxes_paxis_azimuth_loweruncertainty    | double precision            |
 m_principalaxes_paxis_azimuth_upperuncertainty    | double precision            |
 m_principalaxes_paxis_azimuth_confidencelevel     | double precision            |
 m_principalaxes_paxis_plunge_value                | double precision            |
 m_principalaxes_paxis_plunge_uncertainty          | double precision            |
 m_principalaxes_paxis_plunge_loweruncertainty     | double precision            |
 m_principalaxes_paxis_plunge_upperuncertainty     | double precision            |
 m_principalaxes_paxis_plunge_confidencelevel      | double precision            |
 m_principalaxes_paxis_length_value                | double precision            |
 m_principalaxes_paxis_length_uncertainty          | double precision            |
 m_principalaxes_paxis_length_loweruncertainty     | double precision            |
 m_principalaxes_paxis_length_upperuncertainty     | double precision            |
 m_principalaxes_paxis_length_confidencelevel      | double precision            |
 m_principalaxes_naxis_azimuth_value               | double precision            |
 m_principalaxes_naxis_azimuth_uncertainty         | double precision            |
 m_principalaxes_naxis_azimuth_loweruncertainty    | double precision            |
 m_principalaxes_naxis_azimuth_upperuncertainty    | double precision            |
 m_principalaxes_naxis_azimuth_confidencelevel     | double precision            |
 m_principalaxes_naxis_plunge_value                | double precision            |
 m_principalaxes_naxis_plunge_uncertainty          | double precision            |
 m_principalaxes_naxis_plunge_loweruncertainty     | double precision            |
 m_principalaxes_naxis_plunge_upperuncertainty     | double precision            |
 m_principalaxes_naxis_plunge_confidencelevel      | double precision            |
 m_principalaxes_naxis_length_value                | double precision            |
 m_principalaxes_naxis_length_uncertainty          | double precision            |
 m_principalaxes_naxis_length_loweruncertainty     | double precision            |
 m_principalaxes_naxis_length_upperuncertainty     | double precision            |
 m_principalaxes_naxis_length_confidencelevel      | double precision            |
 m_principalaxes_naxis_used                        | boolean                     | not null default false
 m_principalaxes_used                              | boolean                     | not null default false
 m_azimuthalgap                                    | double precision            |
 m_stationpolaritycount                            | integer                     |
 m_misfit                                          | double precision            |
 m_stationdistributionratio                        | double precision            |
 m_methodid                                        | character varying(255)      |
 m_evaluationmode                                  | character varying(64)       |
 m_evaluationstatus                                | character varying(64)       |
 m_creationinfo_agencyid                           | character varying(64)       |
 m_creationinfo_agencyuri                          | character varying(255)      |
 m_creationinfo_author                             | character varying(128)      |
 m_creationinfo_authoruri                          | character varying(255)      |
 m_creationinfo_creationtime                       | timestamp without time zone |
 m_creationinfo_creationtime_ms                    | integer                     |
 m_creationinfo_modificationtime                   | timestamp without time zone |
 m_creationinfo_modificationtime_ms                | integer                     |
 m_creationinfo_version                            | character varying(64)       |
 m_creationinfo_used                               | boolean                     | not null default false
Indexes:
    "focalmechanism_pkey" PRIMARY KEY, btree (_oid)
    "focalmechanism__parent_oid" btree (_parent_oid)
    "focalmechanism_m_triggeringoriginid" btree (m_triggeringoriginid)
Foreign-key constraints:
    "focalmechanism__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    focalmechanism_update BEFORE UPDATE ON focalmechanism FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d focalmechanismreference
              Table "public.focalmechanismreference"
       Column       |            Type             |   Modifiers
--------------------+-----------------------------+---------------
 _oid               | bigint                      | not null
 _parent_oid        | bigint                      | not null
 _last_modified     | timestamp without time zone | default now()
 m_focalmechanismid | character varying(255)      | not null
Indexes:
    "focalmechanismreference_pkey" PRIMARY KEY, btree (_oid)
    "focalmechanismreference__parent_oid_key" UNIQUE, btree (_parent_oid, m_focalmechanismid)
    "focalmechanismreference__parent_oid" btree (_parent_oid)
    "focalmechanismreference_m_focalmechanismid" btree (m_focalmechanismid)
Foreign-key constraints:
    "focalmechanismreference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    focalmechanismreference_update BEFORE UPDATE ON focalmechanismreference FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d journalentry
                 Table "public.journalentry"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_created      | timestamp without time zone |
 m_created_ms   | integer                     |
 m_objectid     | character varying(255)      | not null
 m_sender       | character varying(80)       | not null
 m_action       | character varying(160)      | not null
 m_parameters   | character varying(160)      |
Indexes:
    "journalentry_pkey" PRIMARY KEY, btree (_oid)
    "journalentry__parent_oid" btree (_parent_oid)
    "journalentry_m_objectid" btree (m_objectid)
Foreign-key constraints:
    "journalentry__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    journalentry_update BEFORE UPDATE ON journalentry FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d magnitude
                                 Table "public.magnitude"
               Column               |            Type             |       Modifiers
------------------------------------+-----------------------------+------------------------
 _oid                               | bigint                      | not null
 _parent_oid                        | bigint                      | not null
 _last_modified                     | timestamp without time zone | default now()
 m_magnitude_value                  | double precision            | not null
 m_magnitude_uncertainty            | double precision            |
 m_magnitude_loweruncertainty       | double precision            |
 m_magnitude_upperuncertainty       | double precision            |
 m_magnitude_confidencelevel        | double precision            |
 m_type                             | character varying(16)       |
 m_originid                         | character varying(255)      |
 m_methodid                         | character varying(255)      |
 m_stationcount                     | integer                     |
 m_azimuthalgap                     | double precision            |
 m_evaluationstatus                 | character varying(64)       |
 m_creationinfo_agencyid            | character varying(64)       |
 m_creationinfo_agencyuri           | character varying(255)      |
 m_creationinfo_author              | character varying(128)      |
 m_creationinfo_authoruri           | character varying(255)      |
 m_creationinfo_creationtime        | timestamp without time zone |
 m_creationinfo_creationtime_ms     | integer                     |
 m_creationinfo_modificationtime    | timestamp without time zone |
 m_creationinfo_modificationtime_ms | integer                     |
 m_creationinfo_version             | character varying(64)       |
 m_creationinfo_used                | boolean                     | not null default false
Indexes:
    "magnitude_pkey" PRIMARY KEY, btree (_oid)
    "magnitude__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "magnitude__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    magnitude_update BEFORE UPDATE ON magnitude FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d meta
             Table "public.meta"
 Column |          Type          | Modifiers
--------+------------------------+-----------
 name   | character varying(80)  | not null
 value  | character varying(255) | not null
Indexes:
    "meta_pkey" PRIMARY KEY, btree (name)

seiscomp3=> \d momenttensor
                                Table "public.momenttensor"
               Column               |            Type             |       Modifiers
------------------------------------+-----------------------------+------------------------
 _oid                               | bigint                      | not null
 _parent_oid                        | bigint                      | not null
 _last_modified                     | timestamp without time zone | default now()
 m_derivedoriginid                  | character varying(255)      | not null
 m_momentmagnitudeid                | character varying(255)      |
 m_scalarmoment_value               | double precision            |
 m_scalarmoment_uncertainty         | double precision            |
 m_scalarmoment_loweruncertainty    | double precision            |
 m_scalarmoment_upperuncertainty    | double precision            |
 m_scalarmoment_confidencelevel     | double precision            |
 m_scalarmoment_used                | boolean                     | not null default false
 m_tensor_mrr_value                 | double precision            |
 m_tensor_mrr_uncertainty           | double precision            |
 m_tensor_mrr_loweruncertainty      | double precision            |
 m_tensor_mrr_upperuncertainty      | double precision            |
 m_tensor_mrr_confidencelevel       | double precision            |
 m_tensor_mtt_value                 | double precision            |
 m_tensor_mtt_uncertainty           | double precision            |
 m_tensor_mtt_loweruncertainty      | double precision            |
 m_tensor_mtt_upperuncertainty      | double precision            |
 m_tensor_mtt_confidencelevel       | double precision            |
 m_tensor_mpp_value                 | double precision            |
 m_tensor_mpp_uncertainty           | double precision            |
 m_tensor_mpp_loweruncertainty      | double precision            |
 m_tensor_mpp_upperuncertainty      | double precision            |
 m_tensor_mpp_confidencelevel       | double precision            |
 m_tensor_mrt_value                 | double precision            |
 m_tensor_mrt_uncertainty           | double precision            |
 m_tensor_mrt_loweruncertainty      | double precision            |
 m_tensor_mrt_upperuncertainty      | double precision            |
 m_tensor_mrt_confidencelevel       | double precision            |
 m_tensor_mrp_value                 | double precision            |
 m_tensor_mrp_uncertainty           | double precision            |
 m_tensor_mrp_loweruncertainty      | double precision            |
 m_tensor_mrp_upperuncertainty      | double precision            |
 m_tensor_mrp_confidencelevel       | double precision            |
 m_tensor_mtp_value                 | double precision            |
 m_tensor_mtp_uncertainty           | double precision            |
 m_tensor_mtp_loweruncertainty      | double precision            |
 m_tensor_mtp_upperuncertainty      | double precision            |
 m_tensor_mtp_confidencelevel       | double precision            |
 m_tensor_used                      | boolean                     | not null default false
 m_variance                         | double precision            |
 m_variancereduction                | double precision            |
 m_doublecouple                     | double precision            |
 m_clvd                             | double precision            |
 m_iso                              | double precision            |
 m_greensfunctionid                 | character varying(255)      |
 m_filterid                         | character varying(255)      |
 m_sourcetimefunction_type          | character varying(64)       |
 m_sourcetimefunction_duration      | double precision            |
 m_sourcetimefunction_risetime      | double precision            |
 m_sourcetimefunction_decaytime     | double precision            |
 m_sourcetimefunction_used          | boolean                     | not null default false
 m_methodid                         | character varying(255)      |
 m_method                           | character varying(64)       |
 m_status                           | character varying(64)       |
 m_cmtname                          | character varying(80)       |
 m_cmtversion                       | character varying(64)       |
 m_creationinfo_agencyid            | character varying(64)       |
 m_creationinfo_agencyuri           | character varying(255)      |
 m_creationinfo_author              | character varying(128)      |
 m_creationinfo_authoruri           | character varying(255)      |
 m_creationinfo_creationtime        | timestamp without time zone |
 m_creationinfo_creationtime_ms     | integer                     |
 m_creationinfo_modificationtime    | timestamp without time zone |
 m_creationinfo_modificationtime_ms | integer                     |
 m_creationinfo_version             | character varying(64)       |
 m_creationinfo_used                | boolean                     | not null default false
Indexes:
    "momenttensor_pkey" PRIMARY KEY, btree (_oid)
    "momenttensor__parent_oid" btree (_parent_oid)
    "momenttensor_m_derivedoriginid" btree (m_derivedoriginid)
Foreign-key constraints:
    "momenttensor__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    momenttensor_update BEFORE UPDATE ON momenttensor FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d momenttensorcomponentcontribution
        Table "public.momenttensorcomponentcontribution"
      Column      |            Type             |   Modifiers
------------------+-----------------------------+---------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_phasecode      | character varying(4)        | not null
 m_component      | integer                     | not null
 m_active         | boolean                     | not null
 m_weight         | double precision            | not null
 m_timeshift      | double precision            | not null
 m_datatimewindow | bytea                       | not null
 m_misfit         | double precision            |
 m_snr            | double precision            |
Indexes:
    "momenttensorcomponentcontribution_pkey" PRIMARY KEY, btree (_oid)
    "momenttensorcomponentcontribution__parent_oid_key" UNIQUE, btree (_parent_oid, m_phasecode, m_component)
    "momenttensorcomponentcontribution__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "momenttensorcomponentcontribution__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    momenttensorcomponentcontribution_update BEFORE UPDATE ON momenttensorcomponentcontribution FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d momenttensorphasesetting
             Table "public.momenttensorphasesetting"
       Column       |            Type             |   Modifiers
--------------------+-----------------------------+---------------
 _oid               | bigint                      | not null
 _parent_oid        | bigint                      | not null
 _last_modified     | timestamp without time zone | default now()
 m_code             | character varying(4)        | not null
 m_lowerperiod      | double precision            | not null
 m_upperperiod      | double precision            | not null
 m_minimumsnr       | double precision            |
 m_maximumtimeshift | double precision            |
Indexes:
    "momenttensorphasesetting_pkey" PRIMARY KEY, btree (_oid)
    "momenttensorphasesetting__parent_oid_key" UNIQUE, btree (_parent_oid, m_code)
    "momenttensorphasesetting__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "momenttensorphasesetting__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    momenttensorphasesetting_update BEFORE UPDATE ON momenttensorphasesetting FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d momenttensorstationcontribution
                  Table "public.momenttensorstationcontribution"
          Column           |            Type             |       Modifiers
---------------------------+-----------------------------+------------------------
 _oid                      | bigint                      | not null
 _parent_oid               | bigint                      | not null
 _last_modified            | timestamp without time zone | default now()
 m_active                  | boolean                     | not null
 m_waveformid_networkcode  | character varying(8)        |
 m_waveformid_stationcode  | character varying(8)        |
 m_waveformid_locationcode | character varying(8)        |
 m_waveformid_channelcode  | character varying(8)        |
 m_waveformid_resourceuri  | character varying(255)      |
 m_waveformid_used         | boolean                     | not null default false
 m_weight                  | double precision            |
 m_timeshift               | double precision            |
Indexes:
    "momenttensorstationcontribution_pkey" PRIMARY KEY, btree (_oid)
    "momenttensorstationcontribution__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "momenttensorstationcontribution__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    momenttensorstationcontribution_update BEFORE UPDATE ON momenttensorstationcontribution FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d network
                         Table "public.network"
      Column      |            Type             |       Modifiers
------------------+-----------------------------+------------------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_code           | character varying(8)        | not null
 m_start          | timestamp without time zone | not null
 m_end            | timestamp without time zone |
 m_description    | character varying(80)       |
 m_institutions   | character varying(100)      |
 m_region         | character varying(100)      |
 m_type           | character varying(50)       |
 m_netclass       | character varying(1)        |
 m_archive        | character varying(20)       |
 m_restricted     | boolean                     |
 m_shared         | boolean                     |
 m_remark_content | bytea                       |
 m_remark_used    | boolean                     | not null default false
Indexes:
    "network_pkey" PRIMARY KEY, btree (_oid)
    "network__parent_oid_key" UNIQUE, btree (_parent_oid, m_code, m_start)
    "network__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "network__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    network_update BEFORE UPDATE ON network FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d object
                                    Table "public.object"
   Column   |            Type             |                    Modifiers
------------+-----------------------------+--------------------------------------------------
 _oid       | bigint                      | not null default nextval('object_seq'::regclass)
 _timestamp | timestamp without time zone | default now()
Indexes:
    "object_pkey" PRIMARY KEY, btree (_oid)
Referenced by:
    TABLE "access" CONSTRAINT "access__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "amplitude" CONSTRAINT "amplitude__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "amplitudereference" CONSTRAINT "amplitudereference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "arclinkrequest" CONSTRAINT "arclinkrequest__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "arclinkrequestline" CONSTRAINT "arclinkrequestline__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "arclinkstatusline" CONSTRAINT "arclinkstatusline__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "arclinkuser" CONSTRAINT "arclinkuser__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "arrival" CONSTRAINT "arrival__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "auxdevice" CONSTRAINT "auxdevice__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "auxsource" CONSTRAINT "auxsource__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "auxstream" CONSTRAINT "auxstream__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "comment" CONSTRAINT "comment__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "compositetime" CONSTRAINT "compositetime__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "configmodule" CONSTRAINT "configmodule__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "configstation" CONSTRAINT "configstation__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "datalogger" CONSTRAINT "datalogger__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "dataloggercalibration" CONSTRAINT "dataloggercalibration__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "dataused" CONSTRAINT "dataused__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "decimation" CONSTRAINT "decimation__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "event" CONSTRAINT "event__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "eventdescription" CONSTRAINT "eventdescription__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "focalmechanism" CONSTRAINT "focalmechanism__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "focalmechanismreference" CONSTRAINT "focalmechanismreference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "journalentry" CONSTRAINT "journalentry__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "magnitude" CONSTRAINT "magnitude__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "momenttensor" CONSTRAINT "momenttensor__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "momenttensorcomponentcontribution" CONSTRAINT "momenttensorcomponentcontribution__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "momenttensorphasesetting" CONSTRAINT "momenttensorphasesetting__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "momenttensorstationcontribution" CONSTRAINT "momenttensorstationcontribution__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "network" CONSTRAINT "network__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "origin" CONSTRAINT "origin__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "originreference" CONSTRAINT "originreference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "outage" CONSTRAINT "outage__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "parameter" CONSTRAINT "parameter__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "parameterset" CONSTRAINT "parameterset__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "pick" CONSTRAINT "pick__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "pickreference" CONSTRAINT "pickreference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "publicobject" CONSTRAINT "publicobject__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "qclog" CONSTRAINT "qclog__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "reading" CONSTRAINT "reading__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "responsefap" CONSTRAINT "responsefap__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "responsefir" CONSTRAINT "responsefir__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "responsepaz" CONSTRAINT "responsepaz__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "responsepolynomial" CONSTRAINT "responsepolynomial__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "route" CONSTRAINT "route__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "routearclink" CONSTRAINT "routearclink__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "routeseedlink" CONSTRAINT "routeseedlink__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "sensor" CONSTRAINT "sensor__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "sensorcalibration" CONSTRAINT "sensorcalibration__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "sensorlocation" CONSTRAINT "sensorlocation__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "setup" CONSTRAINT "setup__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "station" CONSTRAINT "station__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "stationgroup" CONSTRAINT "stationgroup__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "stationmagnitude" CONSTRAINT "stationmagnitude__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "stationmagnitudecontribution" CONSTRAINT "stationmagnitudecontribution__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "stationreference" CONSTRAINT "stationreference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "stream" CONSTRAINT "stream__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
    TABLE "waveformquality" CONSTRAINT "waveformquality__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE

seiscomp3=> \d object_seq
         Sequence "public.object_seq"
    Column     |  Type   |        Value
---------------+---------+---------------------
 sequence_name | name    | object_seq
 last_value    | bigint  | 141656
 start_value   | bigint  | 1
 increment_by  | bigint  | 1
 max_value     | bigint  | 9223372036854775807
 min_value     | bigint  | 1
 cache_value   | bigint  | 1
 log_cnt       | bigint  | 32
 is_cycled     | boolean | f
 is_called     | boolean | t

seiscomp3=> \d origin
                                                Table "public.origin"
                            Column                            |            Type             |       Modifiers
--------------------------------------------------------------+-----------------------------+------------------------
 _oid                                                         | bigint                      | not null
 _parent_oid                                                  | bigint                      | not null
 _last_modified                                               | timestamp without time zone | default now()
 m_time_value                                                 | timestamp without time zone | not null
 m_time_value_ms                                              | integer                     | not null
 m_time_uncertainty                                           | double precision            |
 m_time_loweruncertainty                                      | double precision            |
 m_time_upperuncertainty                                      | double precision            |
 m_time_confidencelevel                                       | double precision            |
 m_latitude_value                                             | double precision            | not null
 m_latitude_uncertainty                                       | double precision            |
 m_latitude_loweruncertainty                                  | double precision            |
 m_latitude_upperuncertainty                                  | double precision            |
 m_latitude_confidencelevel                                   | double precision            |
 m_longitude_value                                            | double precision            | not null
 m_longitude_uncertainty                                      | double precision            |
 m_longitude_loweruncertainty                                 | double precision            |
 m_longitude_upperuncertainty                                 | double precision            |
 m_longitude_confidencelevel                                  | double precision            |
 m_depth_value                                                | double precision            |
 m_depth_uncertainty                                          | double precision            |
 m_depth_loweruncertainty                                     | double precision            |
 m_depth_upperuncertainty                                     | double precision            |
 m_depth_confidencelevel                                      | double precision            |
 m_depth_used                                                 | boolean                     | not null default false
 m_depthtype                                                  | character varying(64)       |
 m_timefixed                                                  | boolean                     |
 m_epicenterfixed                                             | boolean                     |
 m_referencesystemid                                          | character varying(255)      |
 m_methodid                                                   | character varying(255)      |
 m_earthmodelid                                               | character varying(255)      |
 m_quality_associatedphasecount                               | integer                     |
 m_quality_usedphasecount                                     | integer                     |
 m_quality_associatedstationcount                             | integer                     |
 m_quality_usedstationcount                                   | integer                     |
 m_quality_depthphasecount                                    | integer                     |
 m_quality_standarderror                                      | double precision            |
 m_quality_azimuthalgap                                       | double precision            |
 m_quality_secondaryazimuthalgap                              | double precision            |
 m_quality_groundtruthlevel                                   | character varying(16)       |
 m_quality_maximumdistance                                    | double precision            |
 m_quality_minimumdistance                                    | double precision            |
 m_quality_mediandistance                                     | double precision            |
 m_quality_used                                               | boolean                     | not null default false
 m_uncertainty_horizontaluncertainty                          | double precision            |
 m_uncertainty_minhorizontaluncertainty                       | double precision            |
 m_uncertainty_maxhorizontaluncertainty                       | double precision            |
 m_uncertainty_azimuthmaxhorizontaluncertainty                | double precision            |
 m_uncertainty_confidenceellipsoid_semimajoraxislength        | double precision            |
 m_uncertainty_confidenceellipsoid_semiminoraxislength        | double precision            |
 m_uncertainty_confidenceellipsoid_semiintermediateaxislength | double precision            |
 m_uncertainty_confidenceellipsoid_majoraxisplunge            | double precision            |
 m_uncertainty_confidenceellipsoid_majoraxisazimuth           | double precision            |
 m_uncertainty_confidenceellipsoid_majoraxisrotation          | double precision            |
 m_uncertainty_confidenceellipsoid_used                       | boolean                     | not null default false
 m_uncertainty_preferreddescription                           | character varying(64)       |
 m_uncertainty_used                                           | boolean                     | not null default false
 m_type                                                       | character varying(64)       |
 m_evaluationmode                                             | character varying(64)       |
 m_evaluationstatus                                           | character varying(64)       |
 m_creationinfo_agencyid                                      | character varying(64)       |
 m_creationinfo_agencyuri                                     | character varying(255)      |
 m_creationinfo_author                                        | character varying(128)      |
 m_creationinfo_authoruri                                     | character varying(255)      |
 m_creationinfo_creationtime                                  | timestamp without time zone |
 m_creationinfo_creationtime_ms                               | integer                     |
 m_creationinfo_modificationtime                              | timestamp without time zone |
 m_creationinfo_modificationtime_ms                           | integer                     |
 m_creationinfo_version                                       | character varying(64)       |
 m_creationinfo_used                                          | boolean                     | not null default false
Indexes:
    "origin_pkey" PRIMARY KEY, btree (_oid)
    "origin__parent_oid" btree (_parent_oid)
    "origin_m_time_value" btree (m_time_value)
    "origin_m_time_value_ms" btree (m_time_value_ms)
Foreign-key constraints:
    "origin__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    origin_update BEFORE UPDATE ON origin FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d originreference
                Table "public.originreference"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_originid     | character varying(255)      | not null
Indexes:
    "originreference_pkey" PRIMARY KEY, btree (_oid)
    "originreference__parent_oid_key" UNIQUE, btree (_parent_oid, m_originid)
    "originreference__parent_oid" btree (_parent_oid)
    "originreference_m_originid" btree (m_originid)
Foreign-key constraints:
    "originreference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    originreference_update BEFORE UPDATE ON originreference FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d outage
                          Table "public.outage"
          Column           |            Type             |   Modifiers
---------------------------+-----------------------------+---------------
 _oid                      | bigint                      | not null
 _parent_oid               | bigint                      | not null
 _last_modified            | timestamp without time zone | default now()
 m_waveformid_networkcode  | character varying(8)        | not null
 m_waveformid_stationcode  | character varying(8)        | not null
 m_waveformid_locationcode | character varying(8)        |
 m_waveformid_channelcode  | character varying(8)        |
 m_waveformid_resourceuri  | character varying(255)      |
 m_creatorid               | character varying(255)      | not null
 m_created                 | timestamp without time zone | not null
 m_created_ms              | integer                     | not null
 m_start                   | timestamp without time zone | not null
 m_start_ms                | integer                     | not null
 m_end                     | timestamp without time zone |
 m_end_ms                  | integer                     |
Indexes:
    "outage_pkey" PRIMARY KEY, btree (_oid)
    "outage__parent_oid_key" UNIQUE, btree (_parent_oid, m_waveformid_networkcode, m_waveformid_stationcode, m_waveformid_locationcode, m_waveformid_channelcode, m_waveformid_
resourceuri, m_start, m_start_ms)
    "outage__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "outage__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    outage_update BEFORE UPDATE ON outage FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d parameter
                   Table "public.parameter"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_name         | character varying(255)      | not null
 m_value        | bytea                       |
Indexes:
    "parameter_pkey" PRIMARY KEY, btree (_oid)
    "parameter__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "parameter__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    parameter_update BEFORE UPDATE ON parameter FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d parameterset
                 Table "public.parameterset"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_baseid       | character varying(255)      |
 m_moduleid     | character varying(255)      |
 m_created      | timestamp without time zone |
 m_created_ms   | integer                     |
Indexes:
    "parameterset_pkey" PRIMARY KEY, btree (_oid)
    "parameterset__parent_oid" btree (_parent_oid)
    "parameterset_m_baseid" btree (m_baseid)
Foreign-key constraints:
    "parameterset__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    parameterset_update BEFORE UPDATE ON parameterset FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d pick
                                     Table "public.pick"
                Column                 |            Type             |       Modifiers
---------------------------------------+-----------------------------+------------------------
 _oid                                  | bigint                      | not null
 _parent_oid                           | bigint                      | not null
 _last_modified                        | timestamp without time zone | default now()
 m_time_value                          | timestamp without time zone | not null
 m_time_value_ms                       | integer                     | not null
 m_time_uncertainty                    | double precision            |
 m_time_loweruncertainty               | double precision            |
 m_time_upperuncertainty               | double precision            |
 m_time_confidencelevel                | double precision            |
 m_waveformid_networkcode              | character varying(8)        | not null
 m_waveformid_stationcode              | character varying(8)        | not null
 m_waveformid_locationcode             | character varying(8)        |
 m_waveformid_channelcode              | character varying(8)        |
 m_waveformid_resourceuri              | character varying(255)      |
 m_filterid                            | character varying(255)      |
 m_methodid                            | character varying(255)      |
 m_horizontalslowness_value            | double precision            |
 m_horizontalslowness_uncertainty      | double precision            |
 m_horizontalslowness_loweruncertainty | double precision            |
 m_horizontalslowness_upperuncertainty | double precision            |
 m_horizontalslowness_confidencelevel  | double precision            |
 m_horizontalslowness_used             | boolean                     | not null default false
 m_backazimuth_value                   | double precision            |
 m_backazimuth_uncertainty             | double precision            |
 m_backazimuth_loweruncertainty        | double precision            |
 m_backazimuth_upperuncertainty        | double precision            |
 m_backazimuth_confidencelevel         | double precision            |
 m_backazimuth_used                    | boolean                     | not null default false
 m_slownessmethodid                    | character varying(255)      |
 m_onset                               | character varying(64)       |
 m_phasehint_code                      | character varying(32)       |
 m_phasehint_used                      | boolean                     | not null default false
 m_polarity                            | character varying(64)       |
 m_evaluationmode                      | character varying(64)       |
 m_evaluationstatus                    | character varying(64)       |
 m_creationinfo_agencyid               | character varying(64)       |
 m_creationinfo_agencyuri              | character varying(255)      |
 m_creationinfo_author                 | character varying(128)      |
 m_creationinfo_authoruri              | character varying(255)      |
 m_creationinfo_creationtime           | timestamp without time zone |
 m_creationinfo_creationtime_ms        | integer                     |
 m_creationinfo_modificationtime       | timestamp without time zone |
 m_creationinfo_modificationtime_ms    | integer                     |
 m_creationinfo_version                | character varying(64)       |
 m_creationinfo_used                   | boolean                     | not null default false
Indexes:
    "pick_pkey" PRIMARY KEY, btree (_oid)
    "pick__parent_oid" btree (_parent_oid)
    "pick_m_time_value" btree (m_time_value)
    "pick_m_time_value_ms" btree (m_time_value_ms)
Foreign-key constraints:
    "pick__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    pick_update BEFORE UPDATE ON pick FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d pickreference
                 Table "public.pickreference"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_pickid       | character varying(255)      | not null
Indexes:
    "pickreference_pkey" PRIMARY KEY, btree (_oid)
    "pickreference__parent_oid_key" UNIQUE, btree (_parent_oid, m_pickid)
    "pickreference__parent_oid" btree (_parent_oid)
    "pickreference_m_pickid" btree (m_pickid)
Foreign-key constraints:
    "pickreference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    pickreference_update BEFORE UPDATE ON pickreference FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d publicobject
           Table "public.publicobject"
   Column   |          Type          | Modifiers
------------+------------------------+-----------
 _oid       | bigint                 | not null
 m_publicid | character varying(255) | not null
Indexes:
    "publicobject_pkey" PRIMARY KEY, btree (_oid)
    "publicobject_m_publicid_key" UNIQUE, btree (m_publicid)
Foreign-key constraints:
    "publicobject__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE

seiscomp3=> \d qclog
                          Table "public.qclog"
          Column           |            Type             |   Modifiers
---------------------------+-----------------------------+---------------
 _oid                      | bigint                      | not null
 _parent_oid               | bigint                      | not null
 _last_modified            | timestamp without time zone | default now()
 m_waveformid_networkcode  | character varying(8)        | not null
 m_waveformid_stationcode  | character varying(8)        | not null
 m_waveformid_locationcode | character varying(8)        |
 m_waveformid_channelcode  | character varying(8)        |
 m_waveformid_resourceuri  | character varying(255)      |
 m_creatorid               | character varying(255)      | not null
 m_created                 | timestamp without time zone | not null
 m_created_ms              | integer                     | not null
 m_start                   | timestamp without time zone | not null
 m_start_ms                | integer                     | not null
 m_end                     | timestamp without time zone | not null
 m_end_ms                  | integer                     | not null
 m_message                 | bytea                       | not null
Indexes:
    "qclog_pkey" PRIMARY KEY, btree (_oid)
    "qclog__parent_oid_key" UNIQUE, btree (_parent_oid, m_start, m_start_ms, m_waveformid_networkcode, m_waveformid_stationcode, m_waveformid_locationcode, m_waveformid_channe
lcode, m_waveformid_resourceuri)
    "qclog__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "qclog__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    qclog_update BEFORE UPDATE ON qclog FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d reading
      Table "public.reading"
   Column    |  Type  | Modifiers
-------------+--------+-----------
 _oid        | bigint | not null
 _parent_oid | bigint | not null
Indexes:
    "reading_pkey" PRIMARY KEY, btree (_oid)
    "reading__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "reading__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE

seiscomp3=> \d responsefap
                       Table "public.responsefap"
      Column      |            Type             |       Modifiers
------------------+-----------------------------+------------------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_name           | character varying(255)      |
 m_gain           | double precision            |
 m_gainfrequency  | double precision            |
 m_numberoftuples | smallint                    |
 m_tuples_content | bytea                       |
 m_tuples_used    | boolean                     | not null default false
 m_remark_content | bytea                       |
 m_remark_used    | boolean                     | not null default false
Indexes:
    "responsefap_pkey" PRIMARY KEY, btree (_oid)
    "responsefap__parent_oid_key" UNIQUE, btree (_parent_oid, m_name)
    "responsefap__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "responsefap__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    responsefap_update BEFORE UPDATE ON responsefap FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d responsefir
                          Table "public.responsefir"
         Column         |            Type             |       Modifiers
------------------------+-----------------------------+------------------------
 _oid                   | bigint                      | not null
 _parent_oid            | bigint                      | not null
 _last_modified         | timestamp without time zone | default now()
 m_name                 | character varying(255)      |
 m_gain                 | double precision            |
 m_decimationfactor     | smallint                    |
 m_delay                | double precision            |
 m_correction           | double precision            |
 m_numberofcoefficients | smallint                    |
 m_symmetry             | character varying(1)        |
 m_coefficients_content | bytea                       |
 m_coefficients_used    | boolean                     | not null default false
 m_remark_content       | bytea                       |
 m_remark_used          | boolean                     | not null default false
Indexes:
    "responsefir_pkey" PRIMARY KEY, btree (_oid)
    "responsefir__parent_oid_key" UNIQUE, btree (_parent_oid, m_name)
    "responsefir__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "responsefir__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    responsefir_update BEFORE UPDATE ON responsefir FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d responsepaz
                           Table "public.responsepaz"
          Column          |            Type             |       Modifiers
--------------------------+-----------------------------+------------------------
 _oid                     | bigint                      | not null
 _parent_oid              | bigint                      | not null
 _last_modified           | timestamp without time zone | default now()
 m_name                   | character varying(255)      |
 m_type                   | character varying(1)        |
 m_gain                   | double precision            |
 m_gainfrequency          | double precision            |
 m_normalizationfactor    | double precision            |
 m_normalizationfrequency | double precision            |
 m_numberofzeros          | smallint                    |
 m_numberofpoles          | smallint                    |
 m_zeros_content          | bytea                       |
 m_zeros_used             | boolean                     | not null default false
 m_poles_content          | bytea                       |
 m_poles_used             | boolean                     | not null default false
 m_remark_content         | bytea                       |
 m_remark_used            | boolean                     | not null default false
Indexes:
    "responsepaz_pkey" PRIMARY KEY, btree (_oid)
    "responsepaz__parent_oid_key" UNIQUE, btree (_parent_oid, m_name)
    "responsepaz__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "responsepaz__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    responsepaz_update BEFORE UPDATE ON responsepaz FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d responsepolynomial
                        Table "public.responsepolynomial"
          Column           |            Type             |       Modifiers
---------------------------+-----------------------------+------------------------
 _oid                      | bigint                      | not null
 _parent_oid               | bigint                      | not null
 _last_modified            | timestamp without time zone | default now()
 m_name                    | character varying(255)      |
 m_gain                    | double precision            |
 m_gainfrequency           | double precision            |
 m_frequencyunit           | character varying(1)        |
 m_approximationtype       | character varying(1)        |
 m_approximationlowerbound | double precision            |
 m_approximationupperbound | double precision            |
 m_approximationerror      | double precision            |
 m_numberofcoefficients    | smallint                    |
 m_coefficients_content    | bytea                       |
 m_coefficients_used       | boolean                     | not null default false
 m_remark_content          | bytea                       |
 m_remark_used             | boolean                     | not null default false
Indexes:
    "responsepolynomial_pkey" PRIMARY KEY, btree (_oid)
    "responsepolynomial__parent_oid_key" UNIQUE, btree (_parent_oid, m_name)
    "responsepolynomial__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "responsepolynomial__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    responsepolynomial_update BEFORE UPDATE ON responsepolynomial FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d route
                     Table "public.route"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_networkcode  | character varying(8)        | not null
 m_stationcode  | character varying(8)        | not null
 m_locationcode | character varying(8)        | not null
 m_streamcode   | character varying(8)        | not null
Indexes:
    "route_pkey" PRIMARY KEY, btree (_oid)
    "route__parent_oid_key" UNIQUE, btree (_parent_oid, m_networkcode, m_stationcode, m_locationcode, m_streamcode)
    "route__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "route__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    route_update BEFORE UPDATE ON route FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d routearclink
                 Table "public.routearclink"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_address      | character varying(50)       | not null
 m_start        | timestamp without time zone | not null
 m_end          | timestamp without time zone |
 m_priority     | smallint                    |
Indexes:
    "routearclink_pkey" PRIMARY KEY, btree (_oid)
    "routearclink__parent_oid_key" UNIQUE, btree (_parent_oid, m_address, m_start)
    "routearclink__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "routearclink__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    routearclink_update BEFORE UPDATE ON routearclink FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d routeseedlink
                 Table "public.routeseedlink"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_address      | character varying(50)       | not null
 m_priority     | smallint                    |
Indexes:
    "routeseedlink_pkey" PRIMARY KEY, btree (_oid)
    "routeseedlink__parent_oid_key" UNIQUE, btree (_parent_oid, m_address)
    "routeseedlink__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "routeseedlink__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    routeseedlink_update BEFORE UPDATE ON routeseedlink FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d sensor
                          Table "public.sensor"
      Column      |            Type             |       Modifiers
------------------+-----------------------------+------------------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_name           | character varying(80)       | not null
 m_description    | character varying(255)      |
 m_model          | character varying(80)       |
 m_manufacturer   | character varying(50)       |
 m_type           | character varying(10)       |
 m_unit           | character varying(20)       |
 m_lowfrequency   | double precision            |
 m_highfrequency  | double precision            |
 m_response       | character varying(255)      |
 m_remark_content | bytea                       |
 m_remark_used    | boolean                     | not null default false
Indexes:
    "sensor_pkey" PRIMARY KEY, btree (_oid)
    "sensor__parent_oid_key" UNIQUE, btree (_parent_oid, m_name)
    "sensor__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "sensor__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    sensor_update BEFORE UPDATE ON sensor FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d sensorcalibration
                    Table "public.sensorcalibration"
      Column      |            Type             |       Modifiers
------------------+-----------------------------+------------------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_serialnumber   | character varying(80)       | not null
 m_channel        | integer                     | not null
 m_start          | timestamp without time zone | not null
 m_end            | timestamp without time zone |
 m_gain           | double precision            |
 m_gainfrequency  | double precision            |
 m_remark_content | bytea                       |
 m_remark_used    | boolean                     | not null default false
Indexes:
    "sensorcalibration_pkey" PRIMARY KEY, btree (_oid)
    "sensorcalibration__parent_oid_key" UNIQUE, btree (_parent_oid, m_serialnumber, m_channel, m_start)
    "sensorcalibration__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "sensorcalibration__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    sensorcalibration_update BEFORE UPDATE ON sensorcalibration FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d sensorlocation
                Table "public.sensorlocation"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_code         | character varying(8)        | not null
 m_start        | timestamp without time zone | not null
 m_end          | timestamp without time zone |
 m_latitude     | double precision            |
 m_longitude    | double precision            |
 m_elevation    | double precision            |
Indexes:
    "sensorlocation_pkey" PRIMARY KEY, btree (_oid)
    "sensorlocation__parent_oid_key" UNIQUE, btree (_parent_oid, m_code, m_start)
    "sensorlocation__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "sensorlocation__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    sensorlocation_update BEFORE UPDATE ON sensorlocation FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d setup
                      Table "public.setup"
      Column      |            Type             |   Modifiers
------------------+-----------------------------+---------------
 _oid             | bigint                      | not null
 _parent_oid      | bigint                      | not null
 _last_modified   | timestamp without time zone | default now()
 m_name           | character varying(20)       |
 m_parametersetid | character varying(255)      |
 m_enabled        | boolean                     | not null
Indexes:
    "setup_pkey" PRIMARY KEY, btree (_oid)
    "setup__parent_oid_key" UNIQUE, btree (_parent_oid, m_name)
    "setup__parent_oid" btree (_parent_oid)
    "setup_m_parametersetid" btree (m_parametersetid)
Foreign-key constraints:
    "setup__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    setup_update BEFORE UPDATE ON setup FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d station
                           Table "public.station"
        Column        |            Type             |       Modifiers
----------------------+-----------------------------+------------------------
 _oid                 | bigint                      | not null
 _parent_oid          | bigint                      | not null
 _last_modified       | timestamp without time zone | default now()
 m_code               | character varying(8)        | not null
 m_start              | timestamp without time zone | not null
 m_end                | timestamp without time zone |
 m_description        | character varying(80)       |
 m_latitude           | double precision            |
 m_longitude          | double precision            |
 m_elevation          | double precision            |
 m_place              | character varying(80)       |
 m_country            | character varying(50)       |
 m_affiliation        | character varying(50)       |
 m_type               | character varying(50)       |
 m_archive            | character varying(20)       |
 m_archivenetworkcode | character varying(8)        |
 m_restricted         | boolean                     |
 m_shared             | boolean                     |
 m_remark_content     | bytea                       |
 m_remark_used        | boolean                     | not null default false
Indexes:
    "station_pkey" PRIMARY KEY, btree (_oid)
    "station__parent_oid_key" UNIQUE, btree (_parent_oid, m_code, m_start)
    "station__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "station__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    station_update BEFORE UPDATE ON station FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d stationgroup
                 Table "public.stationgroup"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_type         | character varying(64)       |
 m_code         | character varying(10)       |
 m_start        | timestamp without time zone |
 m_end          | timestamp without time zone |
 m_description  | character varying(80)       |
 m_latitude     | double precision            |
 m_longitude    | double precision            |
 m_elevation    | double precision            |
Indexes:
    "stationgroup_pkey" PRIMARY KEY, btree (_oid)
    "stationgroup__parent_oid_key" UNIQUE, btree (_parent_oid, m_code)
    "stationgroup__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "stationgroup__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    stationgroup_update BEFORE UPDATE ON stationgroup FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d stationmagnitude
                              Table "public.stationmagnitude"
               Column               |            Type             |       Modifiers
------------------------------------+-----------------------------+------------------------
 _oid                               | bigint                      | not null
 _parent_oid                        | bigint                      | not null
 _last_modified                     | timestamp without time zone | default now()
 m_originid                         | character varying(255)      |
 m_magnitude_value                  | double precision            | not null
 m_magnitude_uncertainty            | double precision            |
 m_magnitude_loweruncertainty       | double precision            |
 m_magnitude_upperuncertainty       | double precision            |
 m_magnitude_confidencelevel        | double precision            |
 m_type                             | character varying(16)       |
 m_amplitudeid                      | character varying(255)      |
 m_methodid                         | character varying(255)      |
 m_waveformid_networkcode           | character varying(8)        |
 m_waveformid_stationcode           | character varying(8)        |
 m_waveformid_locationcode          | character varying(8)        |
 m_waveformid_channelcode           | character varying(8)        |
 m_waveformid_resourceuri           | character varying(255)      |
 m_waveformid_used                  | boolean                     | not null default false
 m_creationinfo_agencyid            | character varying(64)       |
 m_creationinfo_agencyuri           | character varying(255)      |
 m_creationinfo_author              | character varying(128)      |
 m_creationinfo_authoruri           | character varying(255)      |
 m_creationinfo_creationtime        | timestamp without time zone |
 m_creationinfo_creationtime_ms     | integer                     |
 m_creationinfo_modificationtime    | timestamp without time zone |
 m_creationinfo_modificationtime_ms | integer                     |
 m_creationinfo_version             | character varying(64)       |
 m_creationinfo_used                | boolean                     | not null default false
Indexes:
    "stationmagnitude_pkey" PRIMARY KEY, btree (_oid)
    "stationmagnitude__parent_oid" btree (_parent_oid)
    "stationmagnitude_m_amplitudeid" btree (m_amplitudeid)
Foreign-key constraints:
    "stationmagnitude__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    stationmagnitude_update BEFORE UPDATE ON stationmagnitude FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d stationmagnitudecontribution
            Table "public.stationmagnitudecontribution"
        Column        |            Type             |   Modifiers
----------------------+-----------------------------+---------------
 _oid                 | bigint                      | not null
 _parent_oid          | bigint                      | not null
 _last_modified       | timestamp without time zone | default now()
 m_stationmagnitudeid | character varying(255)      | not null
 m_residual           | double precision            |
 m_weight             | double precision            |
Indexes:
    "stationmagnitudecontribution_pkey" PRIMARY KEY, btree (_oid)
    "stationmagnitudecontribution__parent_oid_key" UNIQUE, btree (_parent_oid, m_stationmagnitudeid)
    "stationmagnitudecontribution__parent_oid" btree (_parent_oid)
    "stationmagnitudecontribution_m_stationmagnitudeid" btree (m_stationmagnitudeid)
Foreign-key constraints:
    "stationmagnitudecontribution__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    stationmagnitudecontribution_update BEFORE UPDATE ON stationmagnitudecontribution FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d stationreference
               Table "public.stationreference"
     Column     |            Type             |   Modifiers
----------------+-----------------------------+---------------
 _oid           | bigint                      | not null
 _parent_oid    | bigint                      | not null
 _last_modified | timestamp without time zone | default now()
 m_stationid    | character varying(255)      | not null
Indexes:
    "stationreference_pkey" PRIMARY KEY, btree (_oid)
    "stationreference__parent_oid_key" UNIQUE, btree (_parent_oid, m_stationid)
    "stationreference__parent_oid" btree (_parent_oid)
    "stationreference_m_stationid" btree (m_stationid)
Foreign-key constraints:
    "stationreference__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    stationreference_update BEFORE UPDATE ON stationreference FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d stream
                         Table "public.stream"
          Column          |            Type             |   Modifiers
--------------------------+-----------------------------+---------------
 _oid                     | bigint                      | not null
 _parent_oid              | bigint                      | not null
 _last_modified           | timestamp without time zone | default now()
 m_code                   | character varying(3)        | not null
 m_start                  | timestamp without time zone | not null
 m_end                    | timestamp without time zone |
 m_datalogger             | character varying(255)      |
 m_dataloggerserialnumber | character varying(80)       |
 m_dataloggerchannel      | integer                     |
 m_sensor                 | character varying(255)      |
 m_sensorserialnumber     | character varying(80)       |
 m_sensorchannel          | integer                     |
 m_clockserialnumber      | character varying(80)       |
 m_sampleratenumerator    | integer                     |
 m_sampleratedenominator  | integer                     |
 m_depth                  | double precision            |
 m_azimuth                | double precision            |
 m_dip                    | double precision            |
 m_gain                   | double precision            |
 m_gainfrequency          | double precision            |
 m_gainunit               | character varying(20)       |
 m_format                 | character varying(20)       |
 m_flags                  | character varying(20)       |
 m_restricted             | boolean                     |
 m_shared                 | boolean                     |
Indexes:
    "stream_pkey" PRIMARY KEY, btree (_oid)
    "stream__parent_oid_key" UNIQUE, btree (_parent_oid, m_code, m_start)
    "stream__parent_oid" btree (_parent_oid)
Foreign-key constraints:
    "stream__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    stream_update BEFORE UPDATE ON stream FOR EACH ROW EXECUTE PROCEDURE update_modified()

seiscomp3=> \d waveformquality
                     Table "public.waveformquality"
          Column           |            Type             |   Modifiers
---------------------------+-----------------------------+---------------
 _oid                      | bigint                      | not null
 _parent_oid               | bigint                      | not null
 _last_modified            | timestamp without time zone | default now()
 m_waveformid_networkcode  | character varying(8)        | not null
 m_waveformid_stationcode  | character varying(8)        | not null
 m_waveformid_locationcode | character varying(8)        |
 m_waveformid_channelcode  | character varying(8)        |
 m_waveformid_resourceuri  | character varying(255)      |
 m_creatorid               | character varying(255)      | not null
 m_created                 | timestamp without time zone | not null
 m_created_ms              | integer                     | not null
 m_start                   | timestamp without time zone | not null
 m_start_ms                | integer                     | not null
 m_end                     | timestamp without time zone |
 m_end_ms                  | integer                     |
 m_type                    | character varying(80)       | not null
 m_parameter               | character varying(80)       | not null
 m_value                   | double precision            | not null
 m_loweruncertainty        | double precision            |
 m_upperuncertainty        | double precision            |
 m_windowlength            | double precision            |
Indexes:
    "waveformquality_pkey" PRIMARY KEY, btree (_oid)
    "waveformquality__parent_oid_key" UNIQUE, btree (_parent_oid, m_start, m_start_ms, m_waveformid_networkcode, m_waveformid_stationcode, m_waveformid_locationcode, m_wavefor
mid_channelcode, m_waveformid_resourceuri, m_type, m_parameter)
    "waveformquality__parent_oid" btree (_parent_oid)
    "waveformquality_m_end" btree (m_end)
    "waveformquality_m_end_ms" btree (m_end_ms)
    "waveformquality_m_start" btree (m_start)
    "waveformquality_m_start_ms" btree (m_start_ms)
Foreign-key constraints:
    "waveformquality__oid_fkey" FOREIGN KEY (_oid) REFERENCES object(_oid) ON DELETE CASCADE
Triggers:
    waveformquality_update BEFORE UPDATE ON waveformquality FOR EACH ROW EXECUTE PROCEDURE update_modified()

