replaced the example manager database by a sql script

This commit is contained in:
Martin Willi
2008-04-01 07:16:48 +00:00
parent e411f94d44
commit dd2efc2c03
3 changed files with 31 additions and 3 deletions
+30
View File
@@ -0,0 +1,30 @@
CREATE TABLE users (
username TEXT, password TEXT
);
CREATE TABLE gateways (
name TEXT,
port INTEGER,
address text
);
CREATE TABLE user_gateway (
user INTEGER,
gateway INTEGER
);
INSERT INTO users VALUES(
'strongSwan',
'44092c0394d3661bd3c3587f43e48729836bdf6e' -- strongSwan
);
INSERT INTO gateways VALUES(
'Local Unix',
0,
'/var/run/charon.xml'
);
INSERT INTO user_gateway VALUES(
1,1
);