Add OnlyOfficeTemplates module

This commit is contained in:
Fedor
2026-02-16 09:27:19 +03:00
parent fd54177ada
commit 2bb56342f4
29 changed files with 2173 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?xml version="1.0"?>
<schema>
<tables>
<table>
<name>vtiger_oot_templates</name>
<sql><![CDATA[
CREATE TABLE IF NOT EXISTS vtiger_oot_templates (
id INT(11) NOT NULL AUTO_INCREMENT,
name VARCHAR(255) NOT NULL,
module VARCHAR(100) NOT NULL,
s3_key VARCHAR(512) NOT NULL,
file_name VARCHAR(255) NOT NULL,
owner INT(11) NOT NULL DEFAULT 1,
created_at DATETIME NOT NULL,
settings TEXT NULL,
PRIMARY KEY (id),
KEY idx_oot_module (module),
KEY idx_oot_owner (owner)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
]]></sql>
</table>
<table>
<name>vtiger_oot_templates_seq</name>
<sql><![CDATA[
CREATE TABLE IF NOT EXISTS vtiger_oot_templates_seq (
id INT(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB
]]></sql>
</table>
</tables>
</schema>