mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
added CREATE TABLE VERIFICATIONS to database schema.
This commit is contained in:
parent
fad92a7ffb
commit
edb44fb49d
@ -110,6 +110,12 @@ int rhizome_opendb()
|
||||
fprintf(stderr,"SQLite could not create GROUPMEMBERSHIPS table: %s\n",sqlite3_errmsg(rhizome_db));
|
||||
exit(1);
|
||||
}
|
||||
if (sqlite3_exec(rhizome_db,"CREATE TABLE IF NOT EXISTS VERIFICATIONS(sid text not null, did text, name text,starttime integer, endtime integer,signature blob);",
|
||||
NULL,NULL,NULL))
|
||||
{
|
||||
fprintf(stderr,"SQLite could not create VERIFICATIONS table: %s\n",sqlite3_errmsg(rhizome_db));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* XXX Setup special groups, e.g., Serval Software and Serval Optional Data */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user