 CREATE TABLE gi_webservice_config_history (
     id BIGINT NOT NULL IDENTITY(1,1) ,
     config_id INTEGER NOT NULL,
-    config VARBINARY (MAX) NOT NULL,
+    config NVARCHAR (MAX) NOT NULL,
     config_md5 NVARCHAR (32) NOT NULL,
     create_time DATETIME NOT NULL,
     create_by INTEGER NOT NULL,

    gi_debugger_entry_id BIGINT NOT NULL,
    debug_level NVARCHAR (50) NOT NULL,
    subject NVARCHAR (255) NOT NULL,
    content VARBINARY (MAX) NULL,
    create_time DATETIME NOT NULL,
    PRIMARY KEY(id)
);

CREATE TABLE gi_webservice_config (
    id INTEGER NOT NULL IDENTITY(1,1) ,
    name NVARCHAR (200) NOT NULL,
    config NVARCHAR (MAX) NOT NULL,
    config_md5 NVARCHAR (32) NOT NULL,
    valid_id SMALLINT NOT NULL,
    create_time DATETIME NOT NULL,
