From d7bf59444e37e43dfd8f0759f9c943cd21a49ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 18 Dec 2015 16:07:44 +0000 Subject: [PATCH] fix build in docker --- build-in-docker.conf | 2 +- html/schema.sql | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build-in-docker.conf b/build-in-docker.conf index 6389436..0e734e7 100644 --- a/build-in-docker.conf +++ b/build-in-docker.conf @@ -5,8 +5,8 @@ if test -n "${ANDROID_HOME}"; then packages+=("wheezy:::curl:::npm") packages+=("amd64:::libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1") packages+=("git nodejs default-jdk") - repos+=("Ubuntu-precise:::'deb http://archive.ubuntu.com precise universe'") repos+=("Debian|Ubuntu-precise::::::universe") + repos+=("Ubuntu-precise:::'deb http://archive.ubuntu.com/ubuntu precise universe'") repos+=("wheezy:::'deb http://ftp.is.debian.org/debian wheezy-backports main'") commands+=("update-alternatives --install /usr/bin/node nodejs /usr/bin/nodejs 100") commands+=("wheezy:::curl https://www.npmjs.com/install.sh | sh") diff --git a/html/schema.sql b/html/schema.sql index e178275..4337e8b 100644 --- a/html/schema.sql +++ b/html/schema.sql @@ -3,6 +3,7 @@ CREATE TABLE IF NOT EXISTS `user` ( `pubkey` text NOT NULL COMMENT 'armored gnupg public key of the user', PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='list of all registered users and their public keys'; + create table if not exists `message` ( `id` int not null auto_increment @@ -23,6 +24,8 @@ create table if not exists `message` ( on update cascade ) character set utf8 engine=innodb comment="table to hold all messages for later download by the receiver"; + +/* table to sore arbitrary options */ create table if not exists options ( name varchar(50) not null unique comment "option name", value text not null comment "option value",