{
"domain": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "title",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "logo",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "host",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "achtergrond",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "size",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "favicon",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "footer_logo",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "stylesheet",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "oneliner",
"data_type": "character varying",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "domain_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"klant": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "debiteurnummer",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "adres",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "postcode",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "plaats",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "telefoon",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "fax",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "email",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "contactpersoon",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "eigen_artikelnummers",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "ambassadeur",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "taalkeuze",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "business_dashboard",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "email_nieuwe_producten",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "email_administratie",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "recept_beheer",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "assortiment_per_lokatie_type",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "vereniging",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "logo",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "stylesheet",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "vereniging_style",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "eigen_assortiment",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "balans_module",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "uitzonderingen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "automatische_factuur_controle",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "automatische_pakbon_controle",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "haccp",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "procuratie",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "footer_logo",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "samengevoegde_ppl_per_leverancier",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "budget_tool",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "afdelingen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "banqueting",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "afnemer",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "factuur_naam",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "factuur_contact",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "factuur_email",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "marketing",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "externe_omzet_rapportage",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "live",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "alleen_banqueting",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "balans_op_laatste_vrijdag",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "balans_accorderen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "open_verkoopprijs",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "background_color",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "email_uitzonderingen",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "afleverdatum",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "bq_order_wijzigen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "btw_factuur",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "automatische_incasso",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "leverancier_kiezer",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "omzet_dashboard",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "facilitair",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "taalkeuze_in_banqueting",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "banqueting_po_number",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "haccp_checklist",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "banqueting_administratie",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "hub_logistiek",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "fout_marge_in_facturatie",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "partner",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "toon_bonus_product",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "account",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bestel_verkoopartikel",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "factureer_bq_vanuit_ed",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "voorraad_beheer",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bestel_advies",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "algemene_taken",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "keukenprinters",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "alleen_banqueting_locaties",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "vertalingen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "open_bq_artikel",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "vrije_verstrekking",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "auto_incasso",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bezorging",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "btw_rapportage",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "factuur_kenmerk",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bq_ruimte",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "aanbiedingen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "officeapp",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bestellen_vanuit_recepturen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "menucycli",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "marge_in_artikelomzet",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "rapportage_per_email",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "gln",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "recepten_op_alle_lokaties",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "auto_post_facturen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "url",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "notifications",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "alle_locaties_bij_bestellers",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "personeels_korting",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bq_levertijd_per_product",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "domain",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "oneliner",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "verstuur_email_als_klant",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "url_voor_ed",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bq_url_voor_ed",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "guid",
"data_type": "uuid",
"is_nullable": "YES"
},
{
"column_name": "ticketing",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "marktplaats",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "order_met_levertijd_doorzetten",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "contracten",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "lat_lng",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "individueel",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "zakelijk",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "besteldichtbij",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "redactie",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bq_po_numbers",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "cost_centers",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "whapapi",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "webshop",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "relatie_code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "intro",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "online_betalen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "online_betalen_live",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "minimum_order_bedrag_besteldichtbij",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "bezorgkosten_besteldichtbij",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "shop_url",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "keywords",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "robots_txt",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "omschrijving_seo",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "google_tag",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "service",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "gln_voor_locaties",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "one_user_form",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "tasty_dish",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "edi_mail",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "block_tijden",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "order_per_leverancier_verzenden",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "edifact",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "alternatief_bij_uitzonderingen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "e_dish",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "toon_intro",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "website_intro",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "max_verschil_in_facturatie",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "verzendkosten",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bereken_btw",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "toon_artikelnummer",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "theme_color",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "vending",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "sysop_email",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "pakbon_ok",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "shopapp",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "help",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "beukk",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "factuur_bv",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "foodsy",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "aanmeld_formulier",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "easy_factuur",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "promovideo",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "externe_orders_op_de_kassa",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "das",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "signup",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "public",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "app_url",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "algemene_voorwaarden",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "favicon",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "css_variabelen",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "public_webshop",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "kortingen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "statiegeld",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "leveranciers_button",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "pin_payment",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "whatsapp",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bezorgen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "afhalen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "landings_pagina",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "faq",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "sms",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "nix18",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "assortiment_laatste_update",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
},
{
"column_name": "leverancier_slider",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "test_modus",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "product_themas",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bereken_verkoopprijs",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "meest_besteld",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "nieuwe_producten",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "main_category_names",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "subgroup_name_only",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "use_logo_as_home_title",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "shop_open",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "dicht_omdat",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "zoom_map",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "bestellen_tot_weekdag",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "css_beheer",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "postcode_check_voor_bezorgen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "distributie_via_dc",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "mollie",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "zalen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "nieuwsbrief",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "samples",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "binnenkort_beschikbaar",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "voorpagina_producten",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "telegram",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "homepage_news",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "news_slider",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "news_button_app",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "type",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "upload_pdf_factuur",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "titel_meest_besteld",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "zoek_met_allergenen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "image_placeholder",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "toon_webshop_prijzen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "beukk_code",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "postcode_check_when_logged_in",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "use_name_email_phone_form_when_logged_in",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "confirm_order_when_logged_in",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "beukk_zakelijk",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "lev_lijst",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "print_product_pagina",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "beukk_bank",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "klant_debiteurnummer",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "factuur_nummer",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "customer_apps",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "multilingual",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "bezorg_op_alle_postcodes",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "recent_besteld",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "max_bestellingen_per_week",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "bankrelatie",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bankrekening_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "ppls_on_homepage",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "about_us",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "eetgemak",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "gebruik_behang",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "order_history_on_homepage",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "cluster",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "fsp_control",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "webapp_notifications",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "demo",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "banqueting_app",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "factuur_per",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "factuur_adres",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "factuur_postcode",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "factuur_plaats",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "background_image",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "menukaart",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "webapp_opstelling",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "beukk_assortiment",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "minimum_order_bedrag_voor_bezorgen",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "trunckrs",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "betalen_na_inloggen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "htmx",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "lmf",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "voorraad_op_hub",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "menu_stijl",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "budget_blokker",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "inladen_pdf_bestelling",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "plantgoed_voedsel",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "bestelstylesheet",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "salaris_module",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "week_bestelling",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "kvk_nr",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "btw_nr",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "budget_producten",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "email_klantenservice",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "assortiment_filter",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "hub_logo",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "co2_dashboard",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "altijd_bezorgkosten",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "adres_op_factuur",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "chatbot",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "zaal_order",
"data_type": "boolean",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "klant_ambassadeur_fkey",
"contype": "f",
"definition": "FOREIGN KEY (ambassadeur) REFERENCES ambassadeur(id)"
},
{
"conname": "klant_cluster_fkey",
"contype": "f",
"definition": "FOREIGN KEY (cluster) REFERENCES cluster(id) NOT VALID"
},
{
"conname": "klant_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "klant_vereniging_fkey",
"contype": "f",
"definition": "FOREIGN KEY (vereniging) REFERENCES vereniging(id)"
},
{
"conname": "klant_webapp_opstelling_fkey",
"contype": "f",
"definition": "FOREIGN KEY (webapp_opstelling) REFERENCES webapp_opstelling(id) NOT VALID"
},
{
"conname": "marktplaats",
"contype": "f",
"definition": "FOREIGN KEY (marktplaats) REFERENCES marktplaats(id) NOT VALID"
}
],
"triggers": []
},
"klant_koppeling": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "klant",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "koppeling",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "definitie_in_xml",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "klant_koppeling_klant_fkey",
"contype": "f",
"definition": "FOREIGN KEY (klant) REFERENCES klant(id)"
},
{
"conname": "klant_koppeling_koppeling_fkey",
"contype": "f",
"definition": "FOREIGN KEY (koppeling) REFERENCES koppeling(id)"
},
{
"conname": "klant_koppeling_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "adres",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "postcode",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "plaats",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "telefoon",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "email",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "fax",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "url",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "code",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "order_formaat",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "assortiment_formaat",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "order_verslag",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "pakbon_formaat",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "factuur_formaat",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "order_mail",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bevestiging_mail",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "gln",
"data_type": "character",
"is_nullable": "YES"
},
{
"column_name": "label",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "laatste_bestelling",
"data_type": "time without time zone",
"is_nullable": "YES"
},
{
"column_name": "verwerking",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "display_name",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "product_url_website",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "grootboekrekening",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "volgorde_op_factuur",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "email_facturatie",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "in_statistiek",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "achtergrond",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "hoofdgroepen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "gewichts_artikelen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "domain",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "manage_assortment",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "use_merk",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "use_verpakking",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "order_notifier",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "dashboard",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "logo",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "check_voorraad",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bestel_zelfde_dag",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "mail_sender",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "order_per_email",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "order_referenties",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "textregel_per_orderregel",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "manage_bestellers",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "email_administratie",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "niet_in_weekend",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "bestel_uitzonderingen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "minimum_order_bedrag",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "levering_door_partner",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "leverancier_partner",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "invoeren_bestellingen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "manage_partner_assortiment",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "productie",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "route_planning",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "beheer",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "uploaden_assortiment_bestand",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "easy_pakbon",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "easy_factuur",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "kvk_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "pakbon_directory",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "laatste_bestelling_uitzonderingen",
"data_type": "time without time zone",
"is_nullable": "YES"
},
{
"column_name": "easy_korting",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "hub",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "banqueting_partner",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "notitie_bij_order",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "contact_persoon",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "webshop_look",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "rechten_voor_medewerkers",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "grootboekrekening_inkoop",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "grootboekrekening_verkoop",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "edi",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "check_order",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "leverancier_kiezer",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "intro",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "leverancier_categorie",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "guid",
"data_type": "uuid",
"is_nullable": "YES"
},
{
"column_name": "live",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "factuur_nummer",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "pakbon_printen_zonder_prijs",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "zigzagger",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "vereniging",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "pakbon_vandaag_voor_morgen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "pakbon_vrijdag_voor_maandag",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "maak_inkoop_orders",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "annuleren_banqueting_orders",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "btw_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bankrelatie",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bankrekening_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "titel",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "betaling_condities",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "banqueting_order_aan",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "voorraad_bij_partner",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "login_per_locatie",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "voorraad_mail",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "excel_assortiment",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "email_voor_aanmeldingen",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "assortiment_csv",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "breed_in_kiezer",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "alle_marktplaatsen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "verberg_prijzen_op_hub",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "text4locals",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "foto",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "api_services",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "api_key",
"data_type": "uuid",
"is_nullable": "YES"
},
{
"column_name": "assortiments_hub",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "kleuren",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "maten",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "maps_coordinaten",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "woo_id",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "transport_goederen_pakbon",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "latitude",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "longitude",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "woo_hub",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "via_hub",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "prijslijsten",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "symbool",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "afhaalpunt",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "order_mail_naar_ed",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "toon_hele_assortiment_in_beheer",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "voorraad_in_woo",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "qrcode_op_pakbon",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "basis_menu",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "anonimiseren",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "marktplaats",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "warehouse",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "print_rfid_labels",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "beukk",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "factureer_vanuit_ed",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "code_vervoerder",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "positioning",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "order_mail_per_afleverdag",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "ip_label_printer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "recepturen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "das",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "promo_video",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "woo_commerce",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "klant",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "aanbiedingen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "das_inschrijver",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "prijs_invoer",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "marge_percentage",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "vooraankondiging",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "leverschema",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "crediteurnummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "voorraad_in_warehouse",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "print_labels",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "prijs_per_marktplaats",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "max_bezorgingen_per_dag",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "stylesheet",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "vervoerder",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "faq",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "about_us",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "lijst_per_temperatuur_zone",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "redactie",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "anoniem_afhaalpunt",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "uploaden_pdf_factuur",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "geheim_afhaalpunt",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "beukk_code",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "automatisch_artikelnummer",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "onderhoud_assortiment",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "onderhoud_prijzen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "mail_message",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "maak_facturen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "marketing",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "wijzig_pakbon",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "beukk_vragen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "ontvang_beukk_nieuwsbrief",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "manage_leverancier_kiezer",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "auto_emballage",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "producent",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "bereken_transport_kosten",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "business_web_app",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "handtekening",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "chauffeur_navigatie",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "prijsberekening",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "favicon",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "order_aankondiging",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "lijst_met_bestellers",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "order_indeling",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "orders_in_lmf",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "lmf_dashboard",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "lmf",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "bevestig_pakbon",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "open_pakbon",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "plus_inkoop_lijst",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "ophalen_op_maandag",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "ophalen_op_dinsdag",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "ophalen_op_woensdag",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "ophalen_op_donderdag",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "ophalen_op_vrijdag",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "ophalen_op_zaterdag",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "ophalen_op_zondag",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "skall_id",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "verzamelorder",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "prijs_menu",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "footer_logo",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "factuur_footer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "beukk_bank",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "factuur_naam",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "onderhoud_beukk",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "vangogh",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "voorraad_van_partner",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "manage_instellingen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "nutriscore",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "zebra_printer",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "inkoop_hub",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "voorraad_hub",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "auto_klant_prijs",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "manage_seo",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "inkoop_assortiment_van_leveranciers",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "huisnummer",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "toevoeging",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "order_na_bevestiging",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "alternatieve_producten",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "voertuigen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "akkoord_met_facturen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "transactie_email",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "teler",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "voorbeeld_producten",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "pgs",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "manage_klant_ppl",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "manage_product_alternatieven",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "app_url",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "order_mail_bevestigd",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "bestel_aankondiging_dagen",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "factuur_adres",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "factuur_postcode",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "factuur_plaats",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "leverancier_htmx_inkoop_module",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "erp_pakket",
"data_type": "bigint",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "leverancier_assortiment_formaat_fkey",
"contype": "f",
"definition": "FOREIGN KEY (assortiment_formaat) REFERENCES assortiment_formaat(id)"
},
{
"conname": "leverancier_erp_pakket_fkey",
"contype": "f",
"definition": "FOREIGN KEY (erp_pakket) REFERENCES erp_pakket(id) NOT VALID"
},
{
"conname": "leverancier_klant_fkey",
"contype": "f",
"definition": "FOREIGN KEY (klant) REFERENCES klant(id) NOT VALID"
},
{
"conname": "leverancier_marktplaats_fkey",
"contype": "f",
"definition": "FOREIGN KEY (marktplaats) REFERENCES marktplaats(id)"
},
{
"conname": "leverancier_partner_van_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_partner) REFERENCES leverancier_partner(id)"
},
{
"conname": "leverancier_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "leverancier_vereniging_fkey",
"contype": "f",
"definition": "FOREIGN KEY (vereniging) REFERENCES vereniging(id)"
}
],
"triggers": []
},
"leverancier_apikey": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "key",
"data_type": "uuid",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "leverancier_apikey_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "leverancier_apikey_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier_emballage_artikel": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "omschrijving",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "volgorde",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "gtin",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "gs1_code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "transport",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "lengte",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "breedte",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "hoogte",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "gewicht",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "volume",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "draagcapaciteit",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "stam_artikel",
"data_type": "boolean",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "leverancier_emballage_artikel_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "leverancier_emballage_artikel_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier_emballage_registratie": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "hub",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier_emballage_artikel",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "datum",
"data_type": "date",
"is_nullable": "NO"
},
{
"column_name": "inkomend",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "uitgaand",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "lokatie",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "kvd",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "lmf_user",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "bevestigd",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "leverancier_pakbon",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "levering",
"data_type": "character varying",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "leverancier_emballage_registr_leverancier_emballage_artike_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_emballage_artikel) REFERENCES leverancier_emballage_artikel(id)"
},
{
"conname": "leverancier_emballage_registratie_hub_fkey",
"contype": "f",
"definition": "FOREIGN KEY (hub) REFERENCES leverancier(id)"
},
{
"conname": "leverancier_emballage_registratie_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "leverancier_emballage_registratie_leverancier_pakbon_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_pakbon) REFERENCES leverancier_pakbon(id) ON DELETE RESTRICT"
},
{
"conname": "leverancier_emballage_registratie_lokatie_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lokatie) REFERENCES lokatie(id) NOT VALID"
},
{
"conname": "leverancier_emballage_registratie_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier_emballage_registratie_stop": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "lokatie",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "hub",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "datum",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
},
{
"column_name": "leverancier_emballage_artikel",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "opgehaald",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "afgeleverd",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "lmf_user",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "kvd",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "stop_id",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "leverancier_pakbon",
"data_type": "bigint",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "leverancier_emballage_regist_leverancier_emballage_artike_fkey1",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_emballage_artikel) REFERENCES leverancier_emballage_artikel(id)"
},
{
"conname": "leverancier_emballage_registratie_stop_hub_fkey",
"contype": "f",
"definition": "FOREIGN KEY (hub) REFERENCES leverancier(id)"
},
{
"conname": "leverancier_emballage_registratie_stop_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "leverancier_emballage_registratie_stop_leverancier_pakbon_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_pakbon) REFERENCES leverancier_pakbon(id) ON DELETE RESTRICT"
},
{
"conname": "leverancier_emballage_registratie_stop_lokatie_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lokatie) REFERENCES lokatie(id)"
},
{
"conname": "leverancier_emballage_registratie_stop_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier_koppeling": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "koppeling",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "definitie_in_xml",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "leverancier_koppeling_koppeling_fkey",
"contype": "f",
"definition": "FOREIGN KEY (koppeling) REFERENCES koppeling(id)"
},
{
"conname": "leverancier_koppeling_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "leverancier_koppeling_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier_marktplaats": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "marktplaats",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "woo_id",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "logistieke_hub",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "standaard_aan",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "compleet_assortiment",
"data_type": "boolean",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "marktplaats_leverancier_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "marktplaats_leverancier_marktplaats_fkey",
"contype": "f",
"definition": "FOREIGN KEY (marktplaats) REFERENCES marktplaats(id)"
},
{
"conname": "marktplaats_leverancier_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier_pakbon": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "lokatie",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "datum",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
},
{
"column_name": "klant_nummer",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "factuur_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "lever_datum",
"data_type": "date",
"is_nullable": "NO"
},
{
"column_name": "vers_order",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "vestiging_nummer_leverancier",
"data_type": "ARRAY",
"is_nullable": "YES"
},
{
"column_name": "vestiging_naam_leverancier",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "nieuw",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "status",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "file",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "besteller",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "controle_datum",
"data_type": "timestamp without time zone",
"is_nullable": "YES"
},
{
"column_name": "opmerkingen",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "hm",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "factuur_nummer_in_boekhouding",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "verwerkt_in_voorraad",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "guid",
"data_type": "uuid",
"is_nullable": "YES"
},
{
"column_name": "via_hub",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "hub",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "edifact_status",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "transport_goederen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "transporteur",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "beukk_factuur",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "levering",
"data_type": "uuid",
"is_nullable": "YES"
},
{
"column_name": "status_levering",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "lmf_levering",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "geaccepteerd",
"data_type": "timestamp without time zone",
"is_nullable": "YES"
},
{
"column_name": "afgeleverd",
"data_type": "timestamp without time zone",
"is_nullable": "YES"
},
{
"column_name": "leverancier_factuur",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "opgehaald",
"data_type": "timestamp without time zone",
"is_nullable": "YES"
},
{
"column_name": "hub_in",
"data_type": "timestamp without time zone",
"is_nullable": "YES"
},
{
"column_name": "hub_uit",
"data_type": "timestamp without time zone",
"is_nullable": "YES"
},
{
"column_name": "verzonden",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "transport_status",
"data_type": "smallint",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "leverancier_pakbon_beukk_factuur_fkey",
"contype": "f",
"definition": "FOREIGN KEY (beukk_factuur) REFERENCES beukk_factuur(id) NOT VALID"
},
{
"conname": "leverancier_pakbon_hub_fkey",
"contype": "f",
"definition": "FOREIGN KEY (hub) REFERENCES leverancier(id) NOT VALID"
},
{
"conname": "leverancier_pakbon_hub_fkey1",
"contype": "f",
"definition": "FOREIGN KEY (hub) REFERENCES leverancier(id) NOT VALID"
},
{
"conname": "leverancier_pakbon_leverancier_factuur_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_factuur) REFERENCES leverancier_factuur(id) NOT VALID"
},
{
"conname": "leverancier_pakbon_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "leverancier_pakbon_lokatie_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lokatie) REFERENCES lokatie(id)"
},
{
"conname": "leverancier_pakbon_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "leverancier_pakbon_vers_order_fkey",
"contype": "f",
"definition": "FOREIGN KEY (vers_order) REFERENCES vers_order(id)"
}
],
"triggers": []
},
"leverancier_pakbon_emballage": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier_pakbon",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "leverancier_emballage_artikel",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "geleverd",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "retour",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "geleverd_volgens_leverancier",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "retour_volgens_leverancier",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "kvd",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "ontvangen",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "verstuurd",
"data_type": "integer",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "leverancier_pakbon_emballage_leverancier_emballage_artikel_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_emballage_artikel) REFERENCES leverancier_emballage_artikel(id)"
},
{
"conname": "leverancier_pakbon_emballage_leverancier_pakbon_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_pakbon) REFERENCES leverancier_pakbon(id)"
},
{
"conname": "leverancier_pakbon_emballage_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier_pakbon_footer": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier_pakbon",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "totaal_netto_regel_bedrag",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "grondslag_bedrag_btw_laag",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "grondslag_bedrag_btw_hoog",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "grondslag_bedrag_btw_nul",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "btw_percentage_laag",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "btw_percentage_hoog",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "btw_bedrag_laag",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "btw_bedrag_hoog",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "totaal_btw_bedrag",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "totaal_emballage_bedrag",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "totaal_factuur_bedrag",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "transport_kosten",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "beukk_totaal_ex",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "beukk_totaal_bedrag",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "beukk_totaal_btw",
"data_type": "double precision",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "leverancier_pakbon_footer_leverancier_pakbon_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_pakbon) REFERENCES leverancier_pakbon(id)"
},
{
"conname": "leverancier_pakbon_footer_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier_pakbon_levering": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "datum",
"data_type": "timestamp with time zone",
"is_nullable": "NO"
},
{
"column_name": "commentaar",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "lmf_user",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "order_status",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier_pakbon",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "eta",
"data_type": "timestamp with time zone",
"is_nullable": "YES"
},
{
"column_name": "ata",
"data_type": "timestamp with time zone",
"is_nullable": "YES"
},
{
"column_name": "tracking_code",
"data_type": "character varying",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "leverancier_pakbon_levering_leverancier_pakbon_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_pakbon) REFERENCES leverancier_pakbon(id) NOT VALID"
},
{
"conname": "leverancier_pakbon_levering_lmf_user_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lmf_user) REFERENCES lmf_user(id)"
},
{
"conname": "leverancier_pakbon_levering_order_status_fkey",
"contype": "f",
"definition": "FOREIGN KEY (order_status) REFERENCES order_status(id) NOT VALID"
},
{
"conname": "leverancier_pakbon_levering_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"leverancier_pakbon_regel": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier_pakbon",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "vers_order",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "lever_datum",
"data_type": "date",
"is_nullable": "YES"
},
{
"column_name": "bestel_datum",
"data_type": "date",
"is_nullable": "YES"
},
{
"column_name": "bestel_tijd",
"data_type": "time without time zone",
"is_nullable": "YES"
},
{
"column_name": "regelnummer",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "artikelnummer",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "inhoud_verkoop_eenheid",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "verpakking_verkoop_eenheid",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "maat",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "maat_eenheid",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "artikel_omschrijving",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "besteld_aantal",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "gefactureerd_aantal",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "portie_gewicht",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "portie_gewicht_code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "portie_tekst",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bruto_prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "korting_percentage",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "factuur_prijs_per_eenheid",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "emballage_prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "consumenten_prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "netto_regel_bedrag",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "btw_tarief",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "artikelgroep",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "artikelgroep_omschrijving",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "artikelgroep_klant",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "artikelgroep_omschrijving_klant",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "rekeningnummer_groep_klant",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "nzi_code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "nzi_code_omschrijving",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "nzi_rekening_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "barcode_consumenten_eenheid",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "barcode_handels_eenheid",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "leveranciers_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "leveranciers_naam",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "status",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "product",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "beukk_prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "beukk_regel_bedrag",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "manco",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "manco_verwerkt",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "manco_aantal",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "manco_van",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "manco_reden",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "manco_anders",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "order_regel",
"data_type": "bigint",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "leverancier_pakbon_regel_leverancier_pakbon_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_pakbon) REFERENCES leverancier_pakbon(id)"
},
{
"conname": "leverancier_pakbon_regel_order_regel_fkey",
"contype": "f",
"definition": "FOREIGN KEY (order_regel) REFERENCES order_regel(id) NOT VALID"
},
{
"conname": "leverancier_pakbon_regel_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "leverancier_pakbon_regel_product_fkey",
"contype": "f",
"definition": "FOREIGN KEY (product) REFERENCES product(id)"
},
{
"conname": "leverancier_pakbon_regel_vers_order_fkey",
"contype": "f",
"definition": "FOREIGN KEY (vers_order) REFERENCES vers_order(id)"
}
],
"triggers": []
},
"lmf_bezoeker": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "ip_adres",
"data_type": "inet",
"is_nullable": "NO"
},
{
"column_name": "plaats",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "latitude",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "longitude",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "date",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "lmf_bezoeker_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"lmf_log": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "datum",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
},
{
"column_name": "bericht",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "username",
"data_type": "character varying",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "lmf_log_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "lmf_log_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"lmf_pagina": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "plaats",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "favicon",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "logo",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "behang",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "zuid",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "west",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "noord",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "oost",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "domain",
"data_type": "character varying",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "lmf_pagina_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"lmf_project": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "url",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "servicedesk",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "logo",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "postzegel",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "marktplaats",
"data_type": "bigint",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "lmf_project_marktplaats_fkey",
"contype": "f",
"definition": "FOREIGN KEY (marktplaats) REFERENCES marktplaats(id) NOT VALID"
},
{
"conname": "lnf_project_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"lmf_route": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "lmf_project",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "nummer",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "route_id",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "route_date",
"data_type": "date",
"is_nullable": "YES"
},
{
"column_name": "transporteur_id",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "status",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "created_at",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
},
{
"column_name": "updated_at",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "lmf_route_import_required_check",
"contype": "c",
"definition": "CHECK (((route_id IS NOT NULL) AND (route_date IS NOT NULL) AND (transporteur_id IS NOT NULL)))"
},
{
"conname": "lmf_route_lmf_project_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lmf_project) REFERENCES lmf_project(id)"
},
{
"conname": "lmf_route_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "lmf_route_project_route_date_transporteur_uid",
"contype": "u",
"definition": "UNIQUE (lmf_project, route_id, route_date, transporteur_id)"
},
{
"conname": "lmf_route_route_id_fkey",
"contype": "f",
"definition": "FOREIGN KEY (route_id) REFERENCES route(id) ON DELETE RESTRICT"
},
{
"conname": "lmf_route_status_check",
"contype": "c",
"definition": "CHECK (((status)::text = ANY ((ARRAY['draft'::character varying, 'planned'::character varying, 'in_progress'::character varying, 'completed'::character varying, 'cancelled'::character varying])::text[])))"
},
{
"conname": "lmf_route_transporteur_id_fkey",
"contype": "f",
"definition": "FOREIGN KEY (transporteur_id) REFERENCES leverancier(id) ON DELETE RESTRICT"
}
],
"triggers": []
},
"lmf_stop": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "lmf_route",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "lokatie",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "volgnummer",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "stop_type",
"data_type": "character varying",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "lmf_stop_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "lmf_stop_lmf_route_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lmf_route) REFERENCES lmf_route(id)"
},
{
"conname": "lmf_stop_lokatie_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lokatie) REFERENCES lokatie(id)"
},
{
"conname": "lmf_stop_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "lmf_stop_route_volgnummer_uid",
"contype": "u",
"definition": "UNIQUE (lmf_route, volgnummer) DEFERRABLE"
},
{
"conname": "lmf_stop_stop_type_check",
"contype": "c",
"definition": "CHECK (((stop_type)::text = ANY ((ARRAY['hub_start'::character varying, 'supplier'::character varying, 'customer'::character varying, 'hub_end'::character varying])::text[])))"
},
{
"conname": "lmf_stop_type_entity_check",
"contype": "c",
"definition": "CHECK (((((stop_type)::text = ANY ((ARRAY['hub_start'::character varying, 'supplier'::character varying, 'hub_end'::character varying])::text[])) AND (leverancier IS NOT NULL) AND (lokatie IS NULL)) OR (((stop_type)::text = 'customer'::text) AND (lokatie IS NOT NULL) AND (leverancier IS NULL))))"
},
{
"conname": "lmf_stop_volgnummer_positive_check",
"contype": "c",
"definition": "CHECK ((volgnummer >= 1))"
}
],
"triggers": []
},
"lmf_stop_leverancier_pakbon": {
"columns": [
{
"column_name": "lmf_stop",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier_pakbon",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "created_at",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "lmf_stop_leverancier_pakbon_leverancier_pakbon_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier_pakbon) REFERENCES leverancier_pakbon(id) ON DELETE RESTRICT"
},
{
"conname": "lmf_stop_leverancier_pakbon_lmf_stop_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lmf_stop) REFERENCES lmf_stop(id) ON DELETE CASCADE"
},
{
"conname": "lmf_stop_leverancier_pakbon_pkey",
"contype": "p",
"definition": "PRIMARY KEY (lmf_stop, leverancier_pakbon)"
}
],
"triggers": []
},
"lmf_user": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "roepnaam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "email",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "password",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "klant",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "logistiek",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "klant_id",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "leverancier_id",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "token",
"data_type": "uuid",
"is_nullable": "NO"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "last_login",
"data_type": "timestamp without time zone",
"is_nullable": "YES"
},
{
"column_name": "last_login_from",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "telefoon",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "lmf_project",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "chauffeur",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "chauffeur_navigatie",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "hub",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "navigator",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "route",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "dashboard",
"data_type": "boolean",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "lmf_user_navigator_fkey",
"contype": "f",
"definition": "FOREIGN KEY (navigator) REFERENCES navigator(id) NOT VALID"
},
{
"conname": "lmf_user_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "lmf_user_route_fkey",
"contype": "f",
"definition": "FOREIGN KEY (route) REFERENCES route(id) NOT VALID"
}
],
"triggers": []
},
"lmf_user_project": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "lmf_user",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "lmf_project",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "created_at",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "lmf_user_project_lmf_project_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lmf_project) REFERENCES lmf_project(id) ON DELETE RESTRICT"
},
{
"conname": "lmf_user_project_lmf_user_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lmf_user) REFERENCES lmf_user(id) ON DELETE CASCADE"
},
{
"conname": "lmf_user_project_lmf_user_lmf_project_key",
"contype": "u",
"definition": "UNIQUE (lmf_user, lmf_project)"
},
{
"conname": "lmf_user_project_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"lokatie": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "adres",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "postcode",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "plaats",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "telefoon",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "email",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "lokatie_type",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "cluster",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "autorisatie",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "klant",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "factuur_layout",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "facturen_per_maand",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "budget",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "afleverdatum",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "nzi_voorblad_op_factuur",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "factuur",
"data_type": "character",
"is_nullable": "YES"
},
{
"column_name": "email_factuur",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "factuur_email_adres",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "pakbon_email_adres",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "testlokatie",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "gln",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "ontvangst_bevestiging",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "order_bevestiging",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "debiteurnummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "klant_contract",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "email_alle_bestellers",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "vereniging_style",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "assortiment_per_lokatie_type",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "guid",
"data_type": "uuid",
"is_nullable": "YES"
},
{
"column_name": "procuratie",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "dagboek",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "banqueting",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "test_lokatie",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "afleverprocedure",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "eigen_artikelnummers",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "oci_lokatie_code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "assortiment_lokatie",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "voorraad_lokatie",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "alleen_banqueting",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "gebouw_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "email_banqueting",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "lat_lng",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "aflever_start",
"data_type": "time without time zone",
"is_nullable": "YES"
},
{
"column_name": "aflever_eind",
"data_type": "time without time zone",
"is_nullable": "YES"
},
{
"column_name": "hoofd_lokatie",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "bestel_advies",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "kvk",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "btw_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "aflever_adres",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "aflever_nummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "aflever_toevoeging",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "aflever_plaats",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "aflever_postcode",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "woo_id",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "bijzonderheden",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "lmf",
"data_type": "boolean",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "factuur_layout",
"contype": "f",
"definition": "FOREIGN KEY (factuur_layout) REFERENCES factuur_layout(id)"
},
{
"conname": "lokatie_cluster_fkey",
"contype": "f",
"definition": "FOREIGN KEY (cluster) REFERENCES cluster(id)"
},
{
"conname": "lokatie_klant_contract_fkey",
"contype": "f",
"definition": "FOREIGN KEY (klant_contract) REFERENCES klant_contract(id)"
},
{
"conname": "lokatie_klant_fkey",
"contype": "f",
"definition": "FOREIGN KEY (klant) REFERENCES klant(id)"
},
{
"conname": "lokatie_lokatie_type_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lokatie_type) REFERENCES lokatie_type(id)"
},
{
"conname": "lokatie_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"lokatie_leverancier": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "lokatie",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "debiteurnummer",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "transport",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "relatie_id",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "crediteurnummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "grootboeknummer",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "banqueting_partner",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "levering",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "minimum_order_bedrag",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "laatste_bestelling",
"data_type": "time without time zone",
"is_nullable": "YES"
},
{
"column_name": "credentials",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "dc_code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "automatisch_bestellen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "prijslijst",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "fixed_orderset",
"data_type": "boolean",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "lokatie_leverancier_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "lokatie_leverancier_lokatie_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lokatie) REFERENCES lokatie(id)"
},
{
"conname": "lokatie_leverancier_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "lokatie_leverancier_prijslijst_fkey",
"contype": "f",
"definition": "FOREIGN KEY (prijslijst) REFERENCES prijslijst(id) NOT VALID"
}
],
"triggers": []
},
"marktplaats": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "omschrijving",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "maps_rectangle_area",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "open",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "vereniging",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "woo",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "beukk",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "domain",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "type",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "leverancier",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "lmf",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "klant",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "lsp_pool",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "nieuwe_omgeving",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "aanmeld_url",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "toon_marges",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "klanten_service_telefoon",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "klanten_service_email",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "aanmeldingen_beheer",
"data_type": "boolean",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "marktplaats_domain_fkey",
"contype": "f",
"definition": "FOREIGN KEY (domain) REFERENCES domain(id) NOT VALID"
},
{
"conname": "marktplaats_klant_fkey",
"contype": "f",
"definition": "FOREIGN KEY (klant) REFERENCES klant(id) NOT VALID"
},
{
"conname": "marktplaats_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id) NOT VALID"
},
{
"conname": "marktplaats_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "vereniging",
"contype": "f",
"definition": "FOREIGN KEY (vereniging) REFERENCES vereniging(id) NOT VALID"
}
],
"triggers": []
},
"navigator": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "navigator_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"order_regel": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "vers_order",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "product",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "order_status",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "aantal",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "bestel_gewicht",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "verkoop_prijs",
"data_type": "numeric",
"is_nullable": "YES"
},
{
"column_name": "inkoop_prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "status",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "pakbon_aantal",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "pakbon_prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "pakbon_artikel",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "pakbon_netto_regelbedrag",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "emballage",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "emballage_bedrag",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "commentaar",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bedrag",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "pakbon_gewicht",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "ok",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "btw",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "tekst",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "image",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "promotie_type",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "manco",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "manco_van",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "manco_aantal",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "manco_reden_anders",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "promotie_prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "btw_percentage",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "manco_reden",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "manco_verwerkt",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "beukk_status",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "b2b_manco_financieel_actief",
"data_type": "boolean",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "manco_reden_fk",
"contype": "f",
"definition": "FOREIGN KEY (manco_reden) REFERENCES manco_reden(id)"
},
{
"conname": "order_regel_b2b_manco_financieel_chk",
"contype": "c",
"definition": "CHECK (((b2b_manco_financieel_actief IS NOT TRUE) OR ((manco IS TRUE) AND (manco_van = ANY (ARRAY[1, 2, 3])) AND (manco_aantal > 0) AND (manco_aantal <= aantal)))) NOT VALID"
},
{
"conname": "order_regel_btw_fkey",
"contype": "f",
"definition": "FOREIGN KEY (btw) REFERENCES btw(id)"
},
{
"conname": "order_regel_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "order_regel_order_fkey",
"contype": "f",
"definition": "FOREIGN KEY (vers_order) REFERENCES vers_order(id)"
},
{
"conname": "order_regel_order_status_fkey",
"contype": "f",
"definition": "FOREIGN KEY (order_status) REFERENCES order_status(id)"
},
{
"conname": "order_regel_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "order_regel_product_fkey",
"contype": "f",
"definition": "FOREIGN KEY (product) REFERENCES product(id)"
}
],
"triggers": [
{
"definition": "CREATE TRIGGER shopapp_order_line_stock AFTER INSERT OR DELETE OR UPDATE OF aantal, product, vers_order ON public.order_regel FOR EACH ROW EXECUTE FUNCTION shopapp_order_line_stock_trigger()",
"function_name": "shopapp_order_line_stock_trigger",
"tgenabled": "O",
"tgname": "shopapp_order_line_stock"
}
]
},
"order_status": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "omschrijving",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "fase",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "name",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "akkoord",
"data_type": "boolean",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "order_status_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"product": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "merk",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "productgroep",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "aantal_in_verpakking",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "omschrijving_verpakking",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "nzi",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "levertijd_in_dagen",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "bestelgewicht",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "inkoop_prijs",
"data_type": "numeric",
"is_nullable": "YES"
},
{
"column_name": "verkoop_prijs",
"data_type": "numeric",
"is_nullable": "NO"
},
{
"column_name": "btw",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "stuk_gewicht",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "code",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "emballage_prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "ingredienten",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "vervang_artikel",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "vervanger_voor",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "vervang_datum",
"data_type": "date",
"is_nullable": "YES"
},
{
"column_name": "oud",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "id_leverancier",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "status",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "status_datum",
"data_type": "date",
"is_nullable": "YES"
},
{
"column_name": "image",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "voorraad",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "datum_laatste_order",
"data_type": "date",
"is_nullable": "YES"
},
{
"column_name": "emballage_artikel",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "ean",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "verpakking",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "minimum_bestelgewicht",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "maximum_bestelgewicht",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "levercode",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "netto_gewicht",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "gewicht_eenheid",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "minimum_bestel_aantal",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "maximum_bestel_aantal",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "turnovergroup",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "vatcode",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "allergenen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "omschrijving",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "voedingswaarde",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "ean_verkoopeenheid",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "transport_naam",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "in_psdb",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "psxml",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "pdf_link",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "productietijd_in_minuten",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "keuze_aantal",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "samengesteld",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "topping",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "keuze_artikel",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "gebruik_toppings",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "keuze_mogelijkheid",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "voorpagina",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "verzendkosten",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "houdbaarheid_in_dagen",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "kleuren",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "maten",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "tags",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "voorraad_artikel",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "box",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "promo_prijs",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "updated",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "woo_image_id",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "rfid",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "keywords",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "is_recept",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "bio",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "alcohol",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "type",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "temperatuur_zone",
"data_type": "smallint",
"is_nullable": "YES"
},
{
"column_name": "beukk_code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "binnenkort_beschikbaar",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "week_voorraad",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "automatisch_bijwerken_week_voorraad",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "min_voorraad",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "max_voorraad",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "vaste_prijs",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "nevo_food",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "nevo_food_parent",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "beukk_productgroep",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "verzameling",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "voorbeeld",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "zoek_string",
"data_type": "text",
"is_nullable": "YES"
},
{
"column_name": "search_text",
"data_type": "tsvector",
"is_nullable": "YES"
},
{
"column_name": "search_terms_v2",
"data_type": "text",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "product_beukk_productgroep_fkey",
"contype": "f",
"definition": "FOREIGN KEY (beukk_productgroep) REFERENCES beukk_productgroep(id) NOT VALID"
},
{
"conname": "product_btw_fkey",
"contype": "f",
"definition": "FOREIGN KEY (btw) REFERENCES btw(id) NOT VALID"
},
{
"conname": "product_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "product_nevo_food_fkey",
"contype": "f",
"definition": "FOREIGN KEY (nevo_food) REFERENCES nevo_food(id) NOT VALID"
},
{
"conname": "product_nevo_food_parent_fkey",
"contype": "f",
"definition": "FOREIGN KEY (nevo_food_parent) REFERENCES nevo_food(id)"
},
{
"conname": "product_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "product_productgroep_fkey",
"contype": "f",
"definition": "FOREIGN KEY (productgroep) REFERENCES productgroep(id)"
}
],
"triggers": [
{
"definition": "CREATE TRIGGER trg_build_product_search_terms_v2 BEFORE INSERT OR UPDATE OF code, naam, merk, omschrijving, omschrijving_verpakking, productgroep, tags, keywords ON public.product FOR EACH ROW EXECUTE FUNCTION build_product_search_terms_v2()",
"function_name": "build_product_search_terms_v2",
"tgenabled": "O",
"tgname": "trg_build_product_search_terms_v2"
},
{
"definition": "CREATE TRIGGER trg_set_product_updated_true BEFORE UPDATE OF naam, merk, omschrijving, omschrijving_verpakking, productgroep, tags, keywords ON public.product FOR EACH ROW EXECUTE FUNCTION set_product_updated_true()",
"function_name": "set_product_updated_true",
"tgenabled": "O",
"tgname": "trg_set_product_updated_true"
}
]
},
"productgroep": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "code",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "nzi",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "hoofdgroep",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "id_leverancier",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "voorraad",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "banqueting",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "woo_id",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "volgnummer",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "updated",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "is_logistieke_dienst",
"data_type": "boolean",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "productgroep_hoofdgroep_fkey",
"contype": "f",
"definition": "FOREIGN KEY (hoofdgroep) REFERENCES hoofdgroep(id)"
},
{
"conname": "productgroep_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "productgroep_nzi_fkey",
"contype": "f",
"definition": "FOREIGN KEY (nzi) REFERENCES nzi(id)"
},
{
"conname": "productgroep_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"route": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "maps_rectangle_area",
"data_type": "character varying",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "route_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "route_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
},
"route_lokatie": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "route",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "lokatie",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "nummer",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "leverancier",
"data_type": "bigint",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "route_lokatie_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id) NOT VALID"
},
{
"conname": "route_lokatie_lokatie_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lokatie) REFERENCES lokatie(id)"
},
{
"conname": "route_lokatie_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "route_lokatie_route_fkey",
"contype": "f",
"definition": "FOREIGN KEY (route) REFERENCES route(id)"
}
],
"triggers": []
},
"vers_order": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "lokatie",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "besteller",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "order_status",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "order_datum",
"data_type": "timestamp without time zone",
"is_nullable": "NO"
},
{
"column_name": "afleverdatum",
"data_type": "date",
"is_nullable": "NO"
},
{
"column_name": "referentie",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bevestigd",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "pakbon",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "pakbon_datum",
"data_type": "date",
"is_nullable": "YES"
},
{
"column_name": "pakbon_omschrijving",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "ok",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "administrator_ok",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "oci_order",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "email_send",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "system",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "bedrag",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "geautoriseerd_door",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "geautoriseerd_op",
"data_type": "timestamp without time zone",
"is_nullable": "YES"
},
{
"column_name": "autorisatie_commentaar",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "regels",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "order_id",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "kostenplaats",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "banqueting",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "aflevertijd",
"data_type": "time without time zone",
"is_nullable": "YES"
},
{
"column_name": "notitie",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "transport_order_id",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "banqueting_info",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "banqueting_kostenplaats",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "ip_adres",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "ip_client",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "transport_status",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "kostenplaats_naam",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bq_order",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "factor",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "vrije_verstrekking",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "verwerkt_in_voorraad",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "via_hub",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "hub",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "payment_key",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "payment_id",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "ophalen",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "payment_response",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "bezorgkosten",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "hub_status",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "edi_order",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "btw",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "eindtijd",
"data_type": "time without time zone",
"is_nullable": "YES"
},
{
"column_name": "json",
"data_type": "character varying",
"is_nullable": "YES"
},
{
"column_name": "test",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "marktplaats",
"data_type": "integer",
"is_nullable": "YES"
},
{
"column_name": "bezorgen",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "afhaalpunt",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "app",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "emballage_verwerkt",
"data_type": "boolean",
"is_nullable": "YES"
},
{
"column_name": "korting",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "kortingbon",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "payment_key_new",
"data_type": "uuid",
"is_nullable": "YES"
},
{
"column_name": "transporteur",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "betaald",
"data_type": "double precision",
"is_nullable": "YES"
},
{
"column_name": "inkoop_bedrag",
"data_type": "double precision",
"is_nullable": "NO"
},
{
"column_name": "beukk_status",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "domain",
"data_type": "bigint",
"is_nullable": "YES"
},
{
"column_name": "guid",
"data_type": "uuid",
"is_nullable": "YES"
},
{
"column_name": "verzonden",
"data_type": "timestamp without time zone",
"is_nullable": "YES"
},
{
"column_name": "purchase_origin_leverancier",
"data_type": "bigint",
"is_nullable": "YES"
}
],
"constraints": [
{
"conname": "hub_leverancier",
"contype": "f",
"definition": "FOREIGN KEY (hub) REFERENCES leverancier(id) NOT VALID"
},
{
"conname": "leverancier",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "order_lokatie_fkey",
"contype": "f",
"definition": "FOREIGN KEY (lokatie) REFERENCES lokatie(id)"
},
{
"conname": "order_medewerker_fkey",
"contype": "f",
"definition": "FOREIGN KEY (besteller) REFERENCES besteller(id)"
},
{
"conname": "order_order_status_fkey",
"contype": "f",
"definition": "FOREIGN KEY (order_status) REFERENCES order_status(id)"
},
{
"conname": "order_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
},
{
"conname": "vers_order_administrator_ok_fkey",
"contype": "f",
"definition": "FOREIGN KEY (administrator_ok) REFERENCES administrator(id)"
},
{
"conname": "vers_order_afhaalpunt_fkey",
"contype": "f",
"definition": "FOREIGN KEY (afhaalpunt) REFERENCES leverancier(id) NOT VALID"
},
{
"conname": "vers_order_bq_order_fkey",
"contype": "f",
"definition": "FOREIGN KEY (bq_order) REFERENCES bq_order(id)"
},
{
"conname": "vers_order_gautoriseerd_door_fkey",
"contype": "f",
"definition": "FOREIGN KEY (geautoriseerd_door) REFERENCES besteller(id)"
},
{
"conname": "vers_order_kortingbon_fkey",
"contype": "f",
"definition": "FOREIGN KEY (kortingbon) REFERENCES kortingbon(id)"
},
{
"conname": "vers_order_purchase_origin_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (purchase_origin_leverancier) REFERENCES leverancier(id)"
}
],
"triggers": [
{
"definition": "CREATE TRIGGER shopapp_order_delete_stock BEFORE DELETE ON public.vers_order FOR EACH ROW EXECUTE FUNCTION shopapp_order_status_stock_trigger()",
"function_name": "shopapp_order_status_stock_trigger",
"tgenabled": "O",
"tgname": "shopapp_order_delete_stock"
},
{
"definition": "CREATE TRIGGER shopapp_order_status_stock AFTER UPDATE OF order_status ON public.vers_order FOR EACH ROW EXECUTE FUNCTION shopapp_order_status_stock_trigger()",
"function_name": "shopapp_order_status_stock_trigger",
"tgenabled": "O",
"tgname": "shopapp_order_status_stock"
}
]
},
"voertuig": {
"columns": [
{
"column_name": "id",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "leverancier",
"data_type": "bigint",
"is_nullable": "NO"
},
{
"column_name": "naam",
"data_type": "character varying",
"is_nullable": "NO"
},
{
"column_name": "type",
"data_type": "smallint",
"is_nullable": "NO"
},
{
"column_name": "cap_gewicht",
"data_type": "numeric",
"is_nullable": "NO"
},
{
"column_name": "cap_volume",
"data_type": "numeric",
"is_nullable": "NO"
},
{
"column_name": "kosten_per_km",
"data_type": "numeric",
"is_nullable": "NO"
},
{
"column_name": "kosten_per_min",
"data_type": "numeric",
"is_nullable": "NO"
},
{
"column_name": "actief",
"data_type": "boolean",
"is_nullable": "NO"
},
{
"column_name": "guid",
"data_type": "uuid",
"is_nullable": "NO"
},
{
"column_name": "stopkosten",
"data_type": "numeric",
"is_nullable": "NO"
}
],
"constraints": [
{
"conname": "voertuig_leverancier_fkey",
"contype": "f",
"definition": "FOREIGN KEY (leverancier) REFERENCES leverancier(id)"
},
{
"conname": "voertuig_pkey",
"contype": "p",
"definition": "PRIMARY KEY (id)"
}
],
"triggers": []
}
}
evidence/database-schema.json
Feitelijke analyse op 3 oktober 2026. Codebevindingen zijn geen garantie voor foutloos of daadwerkelijk gebruikt runtimegedrag.
Legenda · bewijs en verbindingen
Bewijsstatus
CONFIRMED Aangetroffen in bron of catalogus; niet automatisch foutloos livegedrag.
LIKELY Gevolgtrekking met onderbouwing.
UNCLEAR Onvoldoende bewijs voor deze koppeling of werking.
NOT FOUND Niet aangetroffen binnen de onderzochte scope.
FUTURE / PROPOSED Voorstel; geen huidige functionaliteit.
Relaties
direct · Aangetroffen rechtstreekse referentie of aanroep.
derived · Afgeleid door selectie, groepering of berekening.
conditional · Alleen bij de genoemde voorwaarden of aanwezige bronverwijzing.
not active · Code/model aanwezig, niet aangesloten op het beschreven pad.
unclear · Verbinding niet vastgesteld.