Browse code

corrected 'alias' table and TABLE_VERSION according to 'location' table

Vaclav Kubart authored on 08/09/2005 07:55:25
Showing 1 changed files
... ...
@@ -244,7 +244,7 @@ INSERT INTO version VALUES ( 'missed_calls', '2');
244 244
 INSERT INTO version VALUES ( 'location', '7');
245 245
 INSERT INTO version VALUES ( 'grp', '2');
246 246
 INSERT INTO version VALUES ( 'event', '1');
247
-INSERT INTO version VALUES ( 'aliases', '6');
247
+INSERT INTO version VALUES ( 'aliases', '7');
248 248
 INSERT INTO version VALUES ( 'active_sessions', '1');
249 249
 INSERT INTO version VALUES ( 'acc', '2');
250 250
 INSERT INTO version VALUES ( 'config', '1');
... ...
@@ -333,6 +333,7 @@ CREATE TABLE aliases (
333 333
   state tinyint(1) unsigned NOT NULL default '0',
334 334
   flags int(11) NOT NULL default '0',
335 335
   user_agent varchar(50) NOT NULL default '',
336
+  instance varchar(80) NOT NULL default '',
336 337
   PRIMARY KEY($USERCOL, domain, contact),
337 338
   INDEX aliases_contact (contact)
338 339
 ) $TABLE_TYPE;