CREATE TABLE `f_stock_suppliers`
(
    `sup_id`             int(5) NOT NULL,
    `sup_name`           varchar(250) NOT NULL,
    `sup_email`          text         NOT NULL,
    `sup_bcc_email`      text         NOT NULL,
    `sup_email_text`     text                  DEFAULT NULL,
    `sup_country`        varchar(20)  NOT NULL,
    `sup_currency`       varchar(3)   NOT NULL DEFAULT 'EUR',
    `sup_active`         int(1) NOT NULL,
    `sup_contact_person` varchar(250) NOT NULL,
    `sup_phone`          varchar(50)  NOT NULL,
    `sup_total_items`    int(10) NOT NULL,
    `sup_rfo`            text         NOT NULL,
    `sup_curtains`       int(1) NOT NULL,
    `sup_default_vat`    varchar(10)  NOT NULL,
    `sup_delivery_days`  int(10) NOT NULL,
    `gpais_supplier`     int(11) NOT NULL DEFAULT 0 COMMENT 'for suppliers that need gpais fields',
    `create_date`        timestamp    NOT NULL DEFAULT current_timestamp(),
    `update_date`        timestamp    NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp ()
) CHARSET=utf8mb3;
