aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/sql/mysql.sql
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-12-16 12:31:41 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-12-16 12:31:41 +0100
commita461e20dd89988f3d619e9019ba1712e80d36211 (patch)
tree79a84b3cdeee6062250c814fc6556bdb4d452ba9 /src/charon/plugins/sql/mysql.sql
parentb75002bc955e7a1489c5c2dd75f452ca057b9b1b (diff)
downloadstrongswan-a461e20dd89988f3d619e9019ba1712e80d36211.tar.bz2
strongswan-a461e20dd89988f3d619e9019ba1712e80d36211.tar.xz
provide attributes from SQL database
Diffstat (limited to 'src/charon/plugins/sql/mysql.sql')
-rw-r--r--src/charon/plugins/sql/mysql.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/charon/plugins/sql/mysql.sql b/src/charon/plugins/sql/mysql.sql
index 412abc715..1a01394b6 100644
--- a/src/charon/plugins/sql/mysql.sql
+++ b/src/charon/plugins/sql/mysql.sql
@@ -187,6 +187,12 @@ CREATE TABLE leases (
PRIMARY KEY (`id`)
);
+DROP TABLE IF EXISTS attributes;
+CREATE TABLE attributes (
+ `id` int(10) unsigned NOT NULL auto_increment,
+ `type` int(10) unsigned NOT NULL,
+ `value` varbinary(16) NOT NULL
+);
DROP TABLE IF EXISTS ike_sas;
CREATE TABLE ike_sas (