From 0db82a04dbe7256553f6244b9b1511725df2fd43 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Mon, 4 Jan 2010 17:49:13 +0000 Subject: [PATCH] DB structure change Every dimension has to have its own ID so it may become itemid within File API framework. Using the same model as we have with course modules and module instances. Also, removing some obsolete fields. --- mod/workshop/db/install.xml | 88 ++++++++++++++++++------------------- mod/workshop/version.php | 4 +- 2 files changed, 45 insertions(+), 47 deletions(-) diff --git a/mod/workshop/db/install.xml b/mod/workshop/db/install.xml index 5e3fa5a440..594b2797a7 100644 --- a/mod/workshop/db/install.xml +++ b/mod/workshop/db/install.xml @@ -1,5 +1,5 @@ - @@ -21,10 +21,8 @@ - - - - + + @@ -92,51 +90,70 @@ - +
- - - + + - + +
- +
- - - - + + + +
+ + + + + + + + + + + +
+ + + + + + + + + +
- - - - + + - - +
- +
@@ -148,33 +165,14 @@
- - - - - - - - - - - - - - - -
- +
- - - - + + - - +
diff --git a/mod/workshop/version.php b/mod/workshop/version.php index bb42f6c459..25ad276fbc 100644 --- a/mod/workshop/version.php +++ b/mod/workshop/version.php @@ -28,6 +28,6 @@ defined('MOODLE_INTERNAL') || die(); -$module->version = 2009073100; -$module->requires = 2009073000; // Requires this Moodle version +$module->version = 2009080400; +$module->requires = 2009073101; // Requires this Moodle version $module->cron = 60; -- 2.39.5