summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/content.sql2
-rw-r--r--install/schema.sql3
2 files changed, 5 insertions, 0 deletions
diff --git a/install/content.sql b/install/content.sql
index bf54a711..ca730611 100644
--- a/install/content.sql
+++ b/install/content.sql
@@ -1,2 +1,4 @@
+USE openslx;
+
INSERT INTO property (name, dateline, value) VALUES ('webif-version', 0, 11);
diff --git a/install/schema.sql b/install/schema.sql
index c4ca99c5..b8ea768b 100644
--- a/install/schema.sql
+++ b/install/schema.sql
@@ -1,6 +1,9 @@
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
+CREATE DATABASE openslx;
+USE openslx;
+
CREATE TABLE `callback` (
`taskid` varchar(40) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
`dateline` int(10) unsigned NOT NULL,