summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-26 06:51:42 +0300
committerValentin Popov <info@valentineus.link>2017-10-26 06:51:42 +0300
commitc037edbc58c1728c27220ac36d8a00dc43940105 (patch)
tree674a74f28c4ce0b5f0e85645b90b797c1472c5d7
parent2c4c05acd61c97f94dc9479169d1a36db1473abf (diff)
downloadlocal_webhooks-c037edbc58c1728c27220ac36d8a00dc43940105.tar.xz
local_webhooks-c037edbc58c1728c27220ac36d8a00dc43940105.zip
Added a field to the database for the security key
-rw-r--r--db/install.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/install.xml b/db/install.xml
index f2e5b05..5c008a6 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="20171025" 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="20171026" 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="token" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" />
<FIELD NAME="events" TYPE="text" NOTNULL="true" SEQUENCE="false" />
</FIELDS>
<KEYS>