2
0
Эх сурвалжийг харах

Record User-Agent in the location database.

Maxim Sobolev 21 жил өмнө
parent
commit
960c029137
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  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;