diff options
author | Simon Rettberg | 2016-06-09 16:07:06 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-06-09 16:07:06 +0200 |
commit | 13aa6d30defcbed0f594156310e3f76de18bf31d (patch) | |
tree | 8fec809737f448c7a9d1485646d77395ae66e048 /modules-available/sysconfig | |
parent | [css] Fix z-order of warning bar (diff) | |
download | slx-admin-13aa6d30defcbed0f594156310e3f76de18bf31d.tar.gz slx-admin-13aa6d30defcbed0f594156310e3f76de18bf31d.tar.xz slx-admin-13aa6d30defcbed0f594156310e3f76de18bf31d.zip |
[install] Add/refine more module's install scripts
Diffstat (limited to 'modules-available/sysconfig')
-rw-r--r-- | modules-available/sysconfig/install.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/sysconfig/install.inc.php b/modules-available/sysconfig/install.inc.php index 0b7bbc1b..35697d1f 100644 --- a/modules-available/sysconfig/install.inc.php +++ b/modules-available/sysconfig/install.inc.php @@ -34,7 +34,8 @@ $res[] = tableCreate('configtgz_x_module', " // Constraints if (in_array(UPDATE_DONE, $res)) { Database::exec("ALTER TABLE `configtgz_x_module` - ADD CONSTRAINT `configtgz_x_module_ibfk_1` FOREIGN KEY (`configid`) REFERENCES `configtgz` (`configid`) ON DELETE CASCADE, + ADD CONSTRAINT `configtgz_x_module_ibfk_1` FOREIGN KEY (`configid`) REFERENCES `configtgz` (`configid`) ON DELETE CASCADE"); + Database::exec("ALTER TABLE `configtgz_x_module` ADD CONSTRAINT `configtgz_x_module_ibfk_2` FOREIGN KEY (`moduleid`) REFERENCES `configtgz_module` (`moduleid`)"); } |