Browse code

added attributes to ACC table:

caller_UUID
callee_UUID
caller_deleted
callee_deleted

Karel Kozlik authored on 31/01/2005 15:06:42
Showing 1 changed files
... ...
@@ -265,6 +265,8 @@ INSERT INTO version VALUES ( 'speed_dial', '1');
265 265
 
266 266
 
267 267
 CREATE TABLE acc (
268
+  caller_UUID varchar(64) NOT NULL default '',
269
+  callee_UUID varchar(64) NOT NULL default '',
268 270
   sip_from varchar(128) NOT NULL default '',
269 271
   sip_to varchar(128) NOT NULL default '',
270 272
   sip_status varchar(128) NOT NULL default '',
... ...
@@ -280,6 +282,8 @@ CREATE TABLE acc (
280 282
   totag varchar(128) NOT NULL default '',
281 283
   time datetime NOT NULL default '0000-00-00 00:00:00',
282 284
   timestamp timestamp(14) NOT NULL,
285
+  caller_deleted char(1) NOT NULL default '0',
286
+  callee_deleted char(1) NOT NULL default '0',
283 287
   INDEX acc_user ($USERCOL, domain),
284 288
   KEY sip_callid (sip_callid)
285 289
 ) $TABLE_TYPE;