fix build in docker

This commit is contained in:
Marc Wäckerlin
2015-12-18 16:07:44 +00:00
parent b58db7cc17
commit d7bf59444e
2 changed files with 4 additions and 1 deletions

View File

@@ -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",