From 1d5aae4b53c875f8cbbd3d7405e484726a0ff555 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 8 Aug 2011 16:15:28 +0200 Subject: [PATCH] Fixed syntax in MySQL script. --- src/libcharon/plugins/sql/mysql.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libcharon/plugins/sql/mysql.sql b/src/libcharon/plugins/sql/mysql.sql index 721e5a2a8..e5d878689 100644 --- a/src/libcharon/plugins/sql/mysql.sql +++ b/src/libcharon/plugins/sql/mysql.sql @@ -20,7 +20,7 @@ CREATE TABLE `child_configs` ( `updown` varchar(128) collate utf8_unicode_ci default NULL, `hostaccess` tinyint(1) unsigned NOT NULL default '0', `mode` tinyint(4) unsigned NOT NULL default '2', - `start_action` tinyint(4) unsigned NOT NULL default '0' + `start_action` tinyint(4) unsigned NOT NULL default '0', `dpd_action` tinyint(4) unsigned NOT NULL default '0', `close_action` tinyint(4) unsigned NOT NULL default '0', `ipcomp` tinyint(4) unsigned NOT NULL default '0', @@ -42,7 +42,8 @@ CREATE TABLE `child_config_traffic_selector` ( DROP TABLE IF EXISTS `proposals`; CREATE TABLE `proposals` ( `id` int(10) unsigned NOT NULL auto_increment, - `proposal` varchar(128) NOT NULL + `proposal` varchar(128) NOT NULL, + PRIMARY KEY (`id`) );