provide attributes from SQL database

This commit is contained in:
Andreas Steffen
2009-12-16 12:31:41 +01:00
parent b75002bc95
commit a461e20dd8
5 changed files with 44 additions and 3 deletions
+6
View File
@@ -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 (
+6
View File
@@ -192,6 +192,12 @@ CREATE TABLE leases (
released INTEGER NOT NULL
);
DROP TABLE IF EXISTS attributes;
CREATE TABLE attributes (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
type INTEGER NOT NULL,
value BLOB NOT NULL
);
DROP TABLE IF EXISTS ike_sas;
CREATE TABLE ike_sas (