     id INTEGER(11) NOT NULL AUTO_INCREMENT,
     name VARCHAR(255) NOT NULL,
     privilege JSON NOT NULL,
-    active BOOLEAN NOT NULL DEFAULT '0',
-    system BOOLEAN NOT NULL DEFAULT '0',
+    active BOOLEAN NOT NULL DEFAULT FALSE,
+    system BOOLEAN NOT NULL DEFAULT FALSE,
     project_id VARCHAR(100) NOT NULL,
     PRIMARY KEY (id),
     UNIQUE uni_role_name (project_id, name)

    entity_id VARCHAR(100) NOT NULL,
    uid VARCHAR(100) NOT NULL,
    name VARCHAR(255) NOT NULL,
    sort INTEGER(11) NOT NULL DEFAULT '0',
    type VARCHAR(100) NOT NULL,
    required BOOLEAN NOT NULL DEFAULT '0',
    uniq BOOLEAN NOT NULL DEFAULT '0',
    searchable BOOLEAN NOT NULL DEFAULT '0',
    opt JSON NOT NULL,
    actions JSON NOT NULL,
    project_id VARCHAR(100) NOT NULL,

    id INTEGER(11) NOT NULL AUTO_INCREMENT,
    uid VARCHAR(100) NOT NULL,
    name VARCHAR(255) NOT NULL,
    system BOOLEAN NOT NULL DEFAULT FALSE,
    project_id VARCHAR(100) NOT NULL,
    PRIMARY KEY (id),
    UNIQUE uni_menu_uid (project_id, uid)
