first commit

This commit is contained in:
Your Name
2021-04-20 11:13:47 +05:30
parent b76859a3f1
commit 0a18b88eba
408 changed files with 47723 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
// +----------------------------------------------------------------------+
// | OpenConf |
// +----------------------------------------------------------------------+
// | Copyright (c) 2002-2020 Zakon Group LLC. All Rights Reserved. |
// +----------------------------------------------------------------------+
// | This source file is subject to the OpenConf License, available on |
// | the OpenConf web site: www.OpenConf.com |
// +----------------------------------------------------------------------+
$tableAR = getTables();
foreach ($tableAR as $t) {
ocsql_query("ALTER TABLE `" . $t . "` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci");
}
ocsql_query("ALTER TABLE `" . OCC_TABLE_PAPER . "` CHANGE `title` `title` VARCHAR(1000) NOT NULL DEFAULT ''; ");
ocsql_query("ALTER TABLE `" . OCC_TABLE_AUTHOR . "` ADD `role` TEXT DEFAULT NULL");
ocsql_query("ALTER TABLE `" . OCC_TABLE_EMAIL_QUEUE . "` ADD `reference_id` VARCHAR(50) DEFAULT NULL");
ocsql_query("UPDATE `" . OCC_TABLE_CONFIG . "` SET `value`=CONCAT(`value`, ',fs_authors:role') WHERE `module`='OC' AND `setting`='OC_hideSubFields' LIMIT 1");
ocsql_query("UPDATE `" . OCC_TABLE_CONFIG . "` SET `value`='7.00' WHERE `setting`='OC_version'");
ocsql_query("UPDATE `" . OCC_TABLE_CONFIG . "` SET `value`='7.00' WHERE `setting`='OC_versionLatest'");