CREATE TABLE tx_consent_domain_model_category
(
    title       varchar(255) DEFAULT '' NOT NULL,
    description text DEFAULT '' NOT NULL,
    mandatory   smallint(6) DEFAULT 0,
    services    int(11) DEFAULT 0,
);

CREATE TABLE tx_consent_domain_model_service
(
    category    int(11) DEFAULT 0 NOT NULL,
    title       varchar(255) DEFAULT '' NOT NULL,
    description text DEFAULT '' NOT NULL,
    tag_name    varchar(50)  DEFAULT '' NOT NULL,
    cookies     int(11) DEFAULT 0,
);

CREATE TABLE tx_consent_domain_model_cookie
(
    title         varchar(255) DEFAULT '' NOT NULL,
    description   text DEFAULT '' NOT NULL,
    validity      int(11) DEFAULT 0 NOT NULL,
    validity_unit varchar(1)   DEFAULT '' NOT NULL,
    service       int(11) DEFAULT 0 NOT NULL,
);