From a461e20dd89988f3d619e9019ba1712e80d36211 Mon Sep 17 00:00:00 2001
From: Andreas Steffen <andreas.steffen@strongswan.org>
Date: Wed, 16 Dec 2009 12:31:41 +0100
Subject: provide attributes from SQL database

---
 src/charon/plugins/sql/mysql.sql | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/charon/plugins/sql/mysql.sql')

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 (
-- 
cgit v1.2.3

