diff --git a/documize/api/endpoint/router.go b/documize/api/endpoint/router.go index dd28d736..a030826b 100644 --- a/documize/api/endpoint/router.go +++ b/documize/api/endpoint/router.go @@ -1,11 +1,11 @@ // Copyright 2016 Documize Inc. . All rights reserved. // -// This software (Documize Community Edition) is licensed under +// This software (Documize Community Edition) is licensed under // GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html // // You can operate outside the AGPL restrictions by purchasing // Documize Enterprise Edition and obtaining a commercial license -// by contacting . +// by contacting . // // https://documize.com @@ -30,7 +30,7 @@ const ( // AppVersion does what it says // Versioning scheme major.minor where "minor" is optional // e.g. 1, 2, 3, 4.1, 4.2, 5, 6, 7, 7.1, 8, 9, 10, ..... 127, 127.1, 128 - AppVersion = "11.2" + AppVersion = "12" ) var port, certFile, keyFile, forcePort2SSL string diff --git a/documize/database/scripts/autobuild/db_00000.sql b/documize/database/scripts/autobuild/db_00000.sql index 01459a66..40fd8e60 100644 --- a/documize/database/scripts/autobuild/db_00000.sql +++ b/documize/database/scripts/autobuild/db_00000.sql @@ -233,7 +233,7 @@ CREATE TABLE IF NOT EXISTS `revision` ( `refid` CHAR(16) NOT NULL COLLATE utf8_bin, `orgid` CHAR(16) NOT NULL COLLATE utf8_bin, `documentid` CHAR(16) NOT NULL COLLATE utf8_bin, - `ownerid` CHAR(16) DEFAULT '' COLLATE utf8_bin, + `ownerid` CHAR(16) DEFAULT '' COLLATE utf8_bin, `pageid` CHAR(16) NOT NULL COLLATE utf8_bin, `userid` CHAR(16) NOT NULL COLLATE utf8_bin, `contenttype` CHAR(20) NOT NULL DEFAULT 'wysiwyg', @@ -251,29 +251,16 @@ CREATE TABLE IF NOT EXISTS `revision` ( DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE = InnoDB; -/* -ALTER DATABASE documize CHARACTER SET utf8 COLLATE utf8_general_ci; -ALTER TABLE organization CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; -ALTER TABLE account CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; -ALTER TABLE user CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; -ALTER TABLE revision CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; -ALTER TABLE label CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; -ALTER TABLE document CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; -ALTER TABLE page CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; -*/ - DROP TABLE IF EXISTS `config`; CREATE TABLE IF NOT EXISTS `config` ( `key` CHAR(225) NOT NULL, `config` JSON, - UNIQUE INDEX `idx_config_area` (`key` ASC) ) ; + UNIQUE INDEX `idx_config_area` (`key` ASC) ) +DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; INSERT INTO `config` VALUES ('SMTP','{\"userid\": \"\",\"password\": \"\",\"host\": \"\",\"port\": \"\",\"sender\": \"\"}'); - INSERT INTO `config` VALUES ('FILEPLUGINS', '[{\"Comment\": \"Disable (or not) built-in html import (NOTE: no Plugin name)\",\"Disabled\": false,\"API\": \"Convert\",\"Actions\": [\"htm\",\"html\"]},{\"Comment\": \"Disable (or not) built-in Documize API import used from SDK (NOTE: no Plugin name)\",\"Disabled\": false,\"API\": \"Convert\",\"Actions\": [\"documizeapi\"]}]'); - INSERT INTO `config` VALUES ('LICENSE','{\"token\": \"\",\"endpoint\": \"https://api.documize.com\"}'); - INSERT INTO `config` VALUES ('META','{\"database\": \"db_00000.sql\"}');