summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/setup
diff options
context:
space:
mode:
authorSimon Rettberg2015-09-13 16:37:01 +0200
committerSimon Rettberg2015-09-13 16:37:01 +0200
commitd68ab42fdec2a7263ea4cf9c762a5e7585b7eb40 (patch)
tree5063e70c5441f0d160c1749a300e96d8e0806cf9 /dozentenmodulserver/setup
parent[server] Limit hashqueue length depending on max mem (diff)
downloadtutor-module-d68ab42fdec2a7263ea4cf9c762a5e7585b7eb40.tar.gz
tutor-module-d68ab42fdec2a7263ea4cf9c762a5e7585b7eb40.tar.xz
tutor-module-d68ab42fdec2a7263ea4cf9c762a5e7585b7eb40.zip
[server] Minor tweaks and fixes
- Logging format - Catch unchecked exceptions in web server and return internal server error - fix: insert os-virt-mappings to db
Diffstat (limited to 'dozentenmodulserver/setup')
-rw-r--r--dozentenmodulserver/setup/sat-01-schema.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/dozentenmodulserver/setup/sat-01-schema.sql b/dozentenmodulserver/setup/sat-01-schema.sql
index c6caef39..eadd5e4d 100644
--- a/dozentenmodulserver/setup/sat-01-schema.sql
+++ b/dozentenmodulserver/setup/sat-01-schema.sql
@@ -75,7 +75,7 @@ CREATE TABLE IF NOT EXISTS `imageversion` (
`isprocessed` tinyint(1) NOT NULL,
`mastersha1` binary(20) DEFAULT NULL,
`virtualizerconfig` blob NULL DEFAULT NULL COMMENT 'Specific configuration of the virtualizer for this image. For vmware, this is basically a dump of the *.vmx.',
- `deletestate` ENUM( 'KEEP', 'SHOULD_DELETE', 'WANT_DELETE' ) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT 'KEEP'
+ `deletestate` ENUM( 'KEEP', 'SHOULD_DELETE', 'WANT_DELETE' ) CHARACTER SET ascii COLLATE ascii_bin NOT NULL DEFAULT 'KEEP',
PRIMARY KEY (`imageversionid`),
KEY `version_access` (`imagebaseid`,`isvalid`,`createtime`),
KEY `fk_imageversion_2_idx` (`uploaderid`),
@@ -116,6 +116,7 @@ CREATE TABLE IF NOT EXISTS `lecture` (
`nics` VARCHAR(200) CHARACTER SET ascii COLLATE ascii_bin NULL COMMENT 'Freeform text field for future extendability. Format is specified at application layer.',
`netrules` text DEFAULT NULL COMMENT 'user defined firewall rules, applied at the linux base system.',
`isexam` tinyint(1) NOT NULL,
+ `iswhitelistonly` tinyint(1) NOT NULL DEFAULT '0',
`hasinternetaccess` tinyint(1) NOT NULL,
`caneditdefault` tinyint(1) NOT NULL,
`canadmindefault` tinyint(1) NOT NULL,