aboutsummaryrefslogtreecommitdiff
path: root/db/install.xml
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-29 10:25:23 +0300
committerValentin Popov <info@valentineus.link>2017-10-29 10:25:23 +0300
commit217c79d867b53f8e41bff9d1105c2b778ef0b2bc (patch)
treeb71bbe0af30d9bbd3584b32128d220dd93339e15 /db/install.xml
parent4c63223050991ef4a2cc18d3d5243a052a7f2b6f (diff)
downloadlocal_webhooks-217c79d867b53f8e41bff9d1105c2b778ef0b2bc.tar.xz
local_webhooks-217c79d867b53f8e41bff9d1105c2b778ef0b2bc.zip
Additional field in the database
Diffstat (limited to 'db/install.xml')
-rw-r--r--db/install.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/install.xml b/db/install.xml
index ad9d7b1..69a7599 100644
--- a/db/install.xml
+++ b/db/install.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<XMLDB PATH="blocks/local_webhooks/db" VERSION="20171027" COMMENT="XMLDB file for Moodle" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd">
+<XMLDB PATH="blocks/local_webhooks/db" VERSION="20171029" COMMENT="XMLDB file for Moodle" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd">
<TABLES>
<TABLE NAME="local_webhooks_service" COMMENT="A table for storing callback services.">
<FIELDS>
@@ -10,6 +10,7 @@
<FIELD NAME="type" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" />
<FIELD NAME="token" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" />
<FIELD NAME="events" TYPE="text" NOTNULL="false" SEQUENCE="false" />
+ <FIELD NAME="other" TYPE="text" NOTNULL="false" SEQUENCE="false" />
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id" />