~ubuntu-branches/ubuntu/breezy/moodle/breezy

« back to all changes in this revision

Viewing changes to mod/survey/db/postgres7.sql

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2005-10-13 02:00:59 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051013020059-y2qcyo41t7nqppcg
Tags: 1.5.2-1ubuntu1
* Resync with debian (security update)
* changed dependencys to php5
* changed apache dependency to apache2 
* References
  CAN-2005-2247

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
INSERT INTO prefix_survey (id, course, template, days, timecreated, timemodified, name, intro, questions) VALUES (5, 0, 0, 0, 985017600, 985017600, 'ciqname', 'ciqintro', '69,70,71,72,73');
40
40
 
41
41
 
 
42
# Reset the sequence. doing it this way rather than simply taking out 
 
43
# id from the preceeding sql to avoid missing fks.
 
44
SELECT setval('prefix_survey_id_seq', (select max(id) from prefix_survey));
 
45
 
 
46
 
 
47
 
42
48
 
43
49
#
44
50
# Table structure for table survey_analysis
177
183
INSERT INTO prefix_survey_questions (id, text, shorttext, multi, intro, type, options) VALUES (72, 'ciq4', 'ciq4short', '', '', 0, '');
178
184
INSERT INTO prefix_survey_questions (id, text, shorttext, multi, intro, type, options) VALUES (73, 'ciq5', 'ciq5short', '', '', 0, '');
179
185
 
 
186
# Reset the sequence. doing it this way rather than simply taking out 
 
187
# id from the preceeding sql to avoid missing fks.
 
188
SELECT setval('prefix_survey_questions_id_seq', (select max(id) from prefix_survey_questions));
 
189
 
 
190
 
 
191
 
180
192
#
181
193
# Dumping data for table log_display
182
194
#