view src/test/resources/datasets/dbUnit_import_merge_match_zusatzwert.json @ 1106:7ea01e09dff4

Fix setting sequences in test data. This did not survive the extinction of the bund schema. Should be safer now by using pg_get_serial_sequence() and the actual maximum of the respecitve ID column.
author Tom Gottfried <tom@intevation.de>
date Wed, 26 Oct 2016 18:54:48 +0200
parents 186d602e031a
children
line wrap: on
line source
{
    "land.zusatz_wert": [{
        "id": 1000,
        "probe_id": 1000,
        "pzs_id": "A74",
        "messwert_pzs": 5.8,
        "messfehler": 1.2,
        "nwg_zu_messwert": 1.3,
        "letzte_aenderung": "2012-05-08 12:00:00",
        "tree_modified": "2012-05-09 12:00:00"
    }, {
        "id": 1001,
        "probe_id": 1000,
        "pzs_id": "A75",
        "messwert_pzs": 1.8,
        "messfehler": 0.2,
        "nwg_zu_messwert": 0.3,
        "letzte_aenderung": "2012-05-08 12:00:00",
        "tree_modified": "2012-05-09 12:00:00"
    }, {
        "id": 1002,
        "probe_id": 1000,
        "pzs_id": "A76",
        "messwert_pzs": 1.8,
        "messfehler": 0.2,
        "nwg_zu_messwert": 0.3,
        "letzte_aenderung": "2012-05-08 12:00:00",
        "tree_modified": "2012-05-09 12:00:00"
    }]
}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)