Added table for wlans.

FossilOrigin-Name: 2d6806e95e0c3cca1bf8cc484219fe8ad52482ad37a53bdfbe32d831fcac17f0
This commit is contained in:
7u83@mail.ru 2015-05-16 15:10:42 +00:00
parent c9c49a409d
commit d2fdc7264a

View File

@ -24,7 +24,12 @@ const char * init_tables = "\
upd INTEGER,\ upd INTEGER,\
PRIMARY KEY(wtpid,id,sub_id)\ PRIMARY KEY(wtpid,id,sub_id)\
);\ );\
CREATE TABLE IF NOT EXISTS wlans (wlanid INTEGER PRIMARY KEY);\
CREATE TABLE IF NOT EXISTS wlanprops (wlanid INTEGER, id TEXT NOT NULL, val TEXT, PRIMARY KEY(wlanid,id));\
"; ";
int db_init() int db_init()
{ {