[db] Introduce a VLR database here

This is not a proper VLR yet, specially the (subscriber_)id
used might not be the proper one in a real network.
This commit is contained in:
Holger Freyther 2009-04-19 06:35:23 +00:00
parent 1d506c8a54
commit c2995ea741
1 changed files with 7 additions and 0 deletions

View File

@ -79,6 +79,13 @@ static char *create_stmts[] = {
"header NUMERIC, "
"text TEXT NOT NULL "
")",
"CREATE TABLE IF NOT EXISTS VLR ("
"id INTEGER PRIMARY KEY AUTOINCREMENT, "
"created TIMESTAMP NOT NULL, "
"updated TIMESTAMP NOT NULL, "
"subscriber_id NUMERIC UNIQUE NOT NULL, "
"last_bts NUMERIC NOT NULL "
")",
};
void db_error_func(dbi_conn conn, void* data) {