From b5a72c9b60365bbdcb1089a3a6f0cd70af14e1df Mon Sep 17 00:00:00 2001 From: jensp Date: Wed, 10 Dec 2014 09:25:56 +0000 Subject: [PATCH] Fixed Upgrade script to use correct table names. git-svn-id: https://svn.libreccm.org/ccm/trunk@3026 8810af33-2d31-482b-a856-94f89814c4df --- .../upgrade/default/1.0.3-6.6.0/rename_decisiontree_tables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/upgrade/default/1.0.3-6.6.0/rename_decisiontree_tables.sql b/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/upgrade/default/1.0.3-6.6.0/rename_decisiontree_tables.sql index 6abf4ac64..e014da91e 100644 --- a/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/upgrade/default/1.0.3-6.6.0/rename_decisiontree_tables.sql +++ b/ccm-cms-types-decisiontree/sql/ccm-cms-types-decisiontree/upgrade/default/1.0.3-6.6.0/rename_decisiontree_tables.sql @@ -27,7 +27,7 @@ -- Rename tables ALTER TABLE cam_decision_trees RENAME TO ct_decisiontrees; ALTER TABLE cam_tree_sections RENAME TO ct_decisiontree_sections; -ALTER TABLE cam_section_options RENAME TO ct_decisiontree_section_options; +ALTER TABLE cam_section_options RENAME TO ct_decisiontree_section_opts; ALTER TABLE cam_option_targets RENAME TO ct_decisiontree_option_targets; -- Rename constraints. Because it is not possible to rename constraints we drop the old ones