     id INTEGER(11) NOT NULL AUTO_INCREMENT,
     name VARCHAR(255) NOT NULL,
     entity_id VARCHAR(100) NOT NULL,
-    active BOOLEAN NOT NULL DEFAULT '0',
+    active BOOLEAN NOT NULL DEFAULT FALSE,
     content TEXT DEFAULT NULL,
     search TEXT DEFAULT NULL,
     created DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,

    name VARCHAR(255) NOT NULL,
    host VARCHAR(255) DEFAULT NULL,
    theme VARCHAR(100) DEFAULT NULL,
    active BOOLEAN NOT NULL DEFAULT '0',
    system BOOLEAN NOT NULL DEFAULT '0',
    PRIMARY KEY (id),
    UNIQUE uni_project_host (host)
);

    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 FALSE,
    uniq BOOLEAN NOT NULL DEFAULT FALSE,
    searchable BOOLEAN NOT NULL DEFAULT FALSE,
    opt JSON NOT NULL,
    actions JSON NOT NULL,
    project_id VARCHAR(100) NOT NULL,
