Browse Source

Record User-Agent in the location database.

Maxim Sobolev 21 years ago
parent
commit
960c029137
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/ser_mysql.sh

+ 2 - 0
scripts/ser_mysql.sh

@@ -320,6 +320,7 @@ CREATE TABLE aliases (
   replicate int(10) unsigned NOT NULL default '0',
   state tinyint(1) unsigned NOT NULL default '0',
   flags int(11) NOT NULL default '0',
+  user_agent varchar(50) NOT NULL default '',
   PRIMARY KEY($USERCOL, domain, contact),
   INDEX aliases_contact (contact)
 ) $TABLE_TYPE;
@@ -375,6 +376,7 @@ CREATE TABLE location (
   replicate int(10) unsigned NOT NULL default '0',
   state tinyint(1) unsigned NOT NULL default '0',
   flags int(11) NOT NULL default '0',
+  user_agent varchar(50) NOT NULL default '',
   PRIMARY KEY($USERCOL, domain, contact)
 ) $TABLE_TYPE;