aboutsummaryrefslogtreecommitdiff
path: root/db/install.xml
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-26 05:27:50 +0300
committerValentin Popov <info@valentineus.link>2017-10-26 05:27:50 +0300
commit28632834afba8385fe4082add80bb7438f17a7a0 (patch)
treef14084e1542935e53d83c6988bcad770b53bef05 /db/install.xml
parenta19031d444a984dc844a01febd3bacfcc6f7b6fc (diff)
downloadlocal_webhooks-28632834afba8385fe4082add80bb7438f17a7a0.tar.xz
local_webhooks-28632834afba8385fe4082add80bb7438f17a7a0.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 b152933..f2e5b05 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="20171022" 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="20171025" 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>
@@ -7,6 +7,7 @@
<FIELD NAME="enable" TYPE="int" LENGTH="2" NOTNULL="true" DEFAULT="0" SEQUENCE="false" />
<FIELD NAME="title" TYPE="text" NOTNULL="true" SEQUENCE="false" />
<FIELD NAME="url" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" />
+ <FIELD NAME="events" TYPE="text" NOTNULL="true" SEQUENCE="false" />
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id" />