sql/mtrack_wiki.sql
authorAlan Knowles <alan@roojs.com>
Tue, 15 Jan 2019 09:57:08 +0000 (17:57 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 15 Jan 2019 09:57:08 +0000 (17:57 +0800)
sql/mtrack_wiki.sql [new file with mode: 0644]

diff --git a/sql/mtrack_wiki.sql b/sql/mtrack_wiki.sql
new file mode 100644 (file)
index 0000000..c271cd2
--- /dev/null
@@ -0,0 +1,14 @@
+
+CREATE TABLE  mtrack_wiki (
+  id int(11)  NOT NULL AUTO_INCREMENT,
+  project_id int(11)  NOT NULL  DEFAULT 0,
+  path varchar(128)  NOT NULL  DEFAULT '',
+  wikidata longtext  NOT NULL,
+  created_id int(11)  NOT NULL  DEFAULT 0,
+  updated_id int(11)  NOT NULL  DEFAULT 0,
+  is_protected int(2)  NOT NULL COMMENT 'if so team only',
+  is_protected_company int(2)  NOT NULL  DEFAULT 0,
+  protected_group text  NOT NULL,
+  PRIMARY KEY (id),
+  INDEX lookup(project_id, path)
+);
\ No newline at end of file