aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-25 08:08:30 +0300
committerGitHub <noreply@github.com>2017-10-25 08:08:30 +0300
commit7862e885ede09fe6ca0003d20437fa927fe8d756 (patch)
tree817757f761580a253af37cdea386831f3cf4cea8 /db
parentd974670910aa1151cc1bc739981ea8149cdcfa64 (diff)
parent8ebb1381c993c7174eaa2aff9587f98239c0a954 (diff)
downloadlocal_webhooks-7862e885ede09fe6ca0003d20437fa927fe8d756.tar.xz
local_webhooks-7862e885ede09fe6ca0003d20437fa927fe8d756.zip
Merge pull request #1 from valentineus/multiple-choice-url
Multiple choice url
Diffstat (limited to 'db')
-rw-r--r--db/install.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/db/install.xml b/db/install.xml
new file mode 100644
index 0000000..b152933
--- /dev/null
+++ b/db/install.xml
@@ -0,0 +1,16 @@
+<?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">
+ <TABLES>
+ <TABLE NAME="local_webhooks_service" COMMENT="A table for storing callback services.">
+ <FIELDS>
+ <FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true" />
+ <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" />
+ </FIELDS>
+ <KEYS>
+ <KEY NAME="primary" TYPE="primary" FIELDS="id" />
+ </KEYS>
+ </TABLE>
+ </TABLES>
+</XMLDB>