Permalink
Browse files

Added new entries for log_display table. These are used to define what

to display for any given logged item.
  • Loading branch information...
1 parent 5eb45fa commit 9d99fef44242a3b0241237a5ac37a9820afc8f60 martin committed May 31, 2002
Showing with 30 additions and 0 deletions.
  1. +12 −0 mod/choice/db/mysql.sql
  2. +8 −0 mod/journal/db/mysql.sql
  3. +10 −0 mod/survey/db/mysql.sql
View
@@ -47,3 +47,15 @@ CREATE TABLE choice_answers (
UNIQUE KEY id (id)
) TYPE=MyISAM;
+#
+# Dumping data for table `log_display`
+#
+
+INSERT INTO log_display VALUES ('choice', 'view', 'choice', 'name');
+INSERT INTO log_display VALUES ('choice', 'update', 'choice', 'name');
+INSERT INTO log_display VALUES ('choice', 'add', 'choice', 'name');
+INSERT INTO log_display VALUES ('choice', 'report', 'choice', 'name');
+
+
+
+
View
@@ -43,3 +43,11 @@ CREATE TABLE journal_entries (
PRIMARY KEY (id)
) TYPE=MyISAM COMMENT='All the journal entries of all people';
+#
+# Dumping data for table `log_display`
+#
+
+INSERT INTO log_display VALUES ('journal', 'view', 'journal', 'name');
+INSERT INTO log_display VALUES ('journal', 'add entry', 'journal', 'name');
+INSERT INTO log_display VALUES ('journal', 'update entry', 'journal', 'name');
+INSERT INTO log_display VALUES ('journal', 'view responses', 'journal', 'name');
View
@@ -165,3 +165,13 @@ INSERT INTO survey_questions VALUES (65, 0, 'Attitudes Towards Thinking and Lear
INSERT INTO survey_questions VALUES (67, 0, 'Connected Learning', '63,62,59,57,55,49,52,50,48,47', 'Connected knowers...', -1, 'Strongly disagree,Somewhat disagree,Neither agree nor disagree,Somewhat agree,Strongly agree');
INSERT INTO survey_questions VALUES (68, 0, 'Separate Learning', '46,54,45,51,60,53,56,58,61,64', 'Separate knowers...', -1, 'Strongly disagree,Somewhat disagree,Neither agree nor disagree,Somewhat agree,Strongly agree');
+
+#
+# Dumping data for table `log_display`
+#
+
+INSERT INTO log_display VALUES ('survey', 'download', 'survey', 'name');
+INSERT INTO log_display VALUES ('survey', 'view form', 'survey', 'name');
+INSERT INTO log_display VALUES ('survey', 'view graph', 'survey', 'name');
+INSERT INTO log_display VALUES ('survey', 'view report', 'survey', 'name');
+INSERT INTO log_display VALUES ('survey', 'submit', 'survey', 'name');

0 comments on commit 9d99fef

Please sign in to comment.