Table for Radios
FossilOrigin-Name: a5220faa7171fd6ff7d1fc156b0d5df5a701254f8bcb755a589e635e172be6fd
This commit is contained in:
parent
e262af320d
commit
e9f9654540
10
src/ac/db.c
10
src/ac/db.c
@ -12,8 +12,16 @@
|
||||
static sqlite3 *handle;
|
||||
|
||||
|
||||
const char * init_tables = "\
|
||||
static const char * init_tables = "\
|
||||
CREATE TABLE IF NOT EXISTS acs (acid TEXT PRIMARY KEY, acname TEXT, lastseen TIMESTAMP); \
|
||||
CREATE TABLE IF NOT EXISTS radios (\
|
||||
wtpid TEXT,\
|
||||
radioid TEXT,\
|
||||
key TEXT,\
|
||||
val TEXT, \
|
||||
upd INTEGER, \
|
||||
PRIMARY KEY (wtpid,radioid)\
|
||||
);\
|
||||
CREATE TABLE IF NOT EXISTS acips (acid TEXT,ip TEXT); \
|
||||
CREATE TABLE IF NOT EXISTS wtps (wtpid TEXT PRIMARY KEY, acid TEXT,lastseen TIMESTAMP); \
|
||||
CREATE TABLE IF NOT EXISTS wtpprops (\
|
||||
|
Loading…
Reference in New Issue
Block a user