added sql for creating knownmacs table

This commit is contained in:
sandb 2010-03-22 00:13:11 +01:00
parent 5c42b69d20
commit 647116a790

View File

@ -9,3 +9,4 @@ define("SQLITE_DB", "/home/sandbender/www/pamela/db/pamela.sql");
// sql create statement for mac table
define("CREATE_MAC_TABLE_SQL", "create table macs (mac text unique on conflict replace, committime integer);");
define("CREATE_KNOWN_MAC_TABLE_SQL", "create table knownmacs (userid integer, mac text, name text, primary key (mac, userid));");