Add OnlyOfficeTemplates module
This commit is contained in:
31
modules/OnlyOfficeTemplates/schema.xml
Normal file
31
modules/OnlyOfficeTemplates/schema.xml
Normal 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>
|
||||
Reference in New Issue
Block a user