     change_time DATETIME NOT NULL,
     change_by INTEGER NOT NULL,
     PRIMARY KEY(customer_id),
-    UNIQUE customer_company_name (name)
+    CONSTRAINT customer_company_name UNIQUE (name)
 );
 -- ----------------------------------------------------------
 --  create table ticket_loop_protection

    change_time DATETIME NOT NULL,
    change_by INTEGER NOT NULL,
    PRIMARY KEY(id),
    UNIQUE article_type_name (name)
);
-- ----------------------------------------------------------
--  create table article_sender_type

    change_time DATETIME NOT NULL,
    change_by INTEGER NOT NULL,
    PRIMARY KEY(id),
    CONSTRAINT ticket_state_name UNIQUE (name)
);
-- ----------------------------------------------------------
--  create table ticket_state_type
