Knowledge:Migration from 6.2.21 to 6.4.2

From OpenKM Documentation
Jump to: navigation, search
  • Run from your preferred SQL client these queries:

MySQL

alter table OKM_NODE_NOTE modify NNT_TEXT longtext;

PostgreSQL

alter table OKM_NODE_NOTE alter NNT_TEXT TYPE text;

Oracle

alter table OKM_NODE_NOTE modify (NNT_TEXT clob);

If the ALTER TABLE sentence fails in Oracle with ORA-22858, you have another way:

alter table OKM_NODE_NOTE add NNT_TEXT_TMP CLOB;
update OKM_NODE_NOTE set NNT_TEXT_TMP = NNT_TEXT;
alter table OKM_NODE_NOTE drop NNT_TEXT;
alter table OKM_NODE_NOTE rename NNT_TEXT_TMP to NNT_TEXT;
  • Run from your preferred SQL client these queries:
update OKM_AUTO_METADATA set AMD_TYPE00='code' where AMD_CLASS_NAME='com.openkm.automation.action.ExecuteScripting';