Browse code

USER_ID->user

Jan Janak authored on 25/01/2003 14:56:39
Showing 1 changed files
... ...
@@ -13,6 +13,7 @@
13 13
 # 2003-01-24: Changed realm column of subscriber and pending
14 14
 #             tables to domain (janakj)
15 15
 # 2003-01-25: Optimized keys of some core tables (janakj)
16
+# 2003-01-25: USER_ID changed to user everywhere (janakj)
16 17
 #
17 18
 
18 19
 #################################################################
... ...
@@ -276,26 +277,26 @@ CREATE TABLE missed_calls (
276 277
 
277 278
 CREATE TABLE pending (
278 279
   phplib_id varchar(32) NOT NULL default '',
279
-  USER_ID varchar(100) NOT NULL default '',
280
-  PASSWORD varchar(25) NOT NULL default '',
281
-  FIRST_NAME varchar(25) NOT NULL default '',
282
-  LAST_NAME varchar(45) NOT NULL default '',
283
-  PHONE varchar(15) NOT NULL default '',
284
-  EMAIL_ADDRESS varchar(50) NOT NULL default '',
285
-  DATETIME_CREATED datetime NOT NULL default '0000-00-00 00:00:00',
286
-  DATETIME_MODIFIED datetime NOT NULL default '0000-00-00 00:00:00',
280
+  user varchar(100) NOT NULL default '',
281
+  password varchar(25) NOT NULL default '',
282
+  first_name varchar(25) NOT NULL default '',
283
+  last_name varchar(45) NOT NULL default '',
284
+  phone varchar(15) NOT NULL default '',
285
+  email_address varchar(50) NOT NULL default '',
286
+  datetime_created datetime NOT NULL default '0000-00-00 00:00:00',
287
+  datetime_modified datetime NOT NULL default '0000-00-00 00:00:00',
287 288
   confirmation varchar(64) NOT NULL default '',
288 289
   flag char(1) NOT NULL default 'o',
289
-  SendNotification varchar(50) NOT NULL default '',
290
-  Greeting varchar(50) NOT NULL default '',
291
-  HA1 varchar(128) NOT NULL default '',
290
+  sendnotification varchar(50) NOT NULL default '',
291
+  greeting varchar(50) NOT NULL default '',
292
+  ha1 varchar(128) NOT NULL default '',
292 293
   domain varchar(128) NOT NULL default '',
293 294
   ha1b varchar(128) NOT NULL default '',
294 295
   perms varchar(32) default NULL,
295 296
   allow_find char(1) NOT NULL default '0',
296 297
   timezone varchar(128) default NULL,
297
-  PRIMARY KEY (USER_ID, domain),
298
-  KEY USER_ID_2 (USER_ID),
298
+  PRIMARY KEY (user, domain),
299
+  KEY user_2 (user),
299 300
   UNIQUE KEY phplib_id (phplib_id)
300 301
 ) $TABLE_TYPE;
301 302
 
... ...
@@ -326,8 +327,8 @@ CREATE TABLE phonebook (
326 327
 
327 328
 
328 329
 CREATE TABLE reserved (
329
-  user_id char(100) NOT NULL default '',
330
-  UNIQUE KEY user_id (user_id)
330
+  user char(100) NOT NULL default '',
331
+  UNIQUE KEY user2(user)
331 332
 ) $TABLE_TYPE;
332 333
 
333 334
 
... ...
@@ -340,27 +341,27 @@ CREATE TABLE reserved (
340 341
 
341 342
 CREATE TABLE subscriber (
342 343
   phplib_id varchar(32) NOT NULL default '',
343
-  USER_ID varchar(100) NOT NULL default '',
344
-  PASSWORD varchar(25) NOT NULL default '',
345
-  FIRST_NAME varchar(25) NOT NULL default '',
346
-  LAST_NAME varchar(45) NOT NULL default '',
347
-  PHONE varchar(15) NOT NULL default '',
348
-  EMAIL_ADDRESS varchar(50) NOT NULL default '',
349
-  DATETIME_CREATED datetime NOT NULL default '0000-00-00 00:00:00',
350
-  DATETIME_MODIFIED datetime NOT NULL default '0000-00-00 00:00:00',
344
+  user varchar(100) NOT NULL default '',
345
+  password varchar(25) NOT NULL default '',
346
+  first_name varchar(25) NOT NULL default '',
347
+  last_name varchar(45) NOT NULL default '',
348
+  phone varchar(15) NOT NULL default '',
349
+  email_address varchar(50) NOT NULL default '',
350
+  datetime_created datetime NOT NULL default '0000-00-00 00:00:00',
351
+  datetime_modified datetime NOT NULL default '0000-00-00 00:00:00',
351 352
   confirmation varchar(64) NOT NULL default '',
352 353
   flag char(1) NOT NULL default 'o',
353
-  SendNotification varchar(50) NOT NULL default '',
354
-  Greeting varchar(50) NOT NULL default '',
355
-  HA1 varchar(128) NOT NULL default '',
354
+  sendnotification varchar(50) NOT NULL default '',
355
+  greeting varchar(50) NOT NULL default '',
356
+  ha1 varchar(128) NOT NULL default '',
356 357
   domain varchar(128) NOT NULL default '',
357 358
   ha1b varchar(128) NOT NULL default '',
358 359
   perms varchar(32) default NULL,
359 360
   allow_find char(1) NOT NULL default '0',
360 361
   timezone varchar(128) default NULL,
361 362
   UNIQUE KEY phplib_id (phplib_id),
362
-  PRIMARY KEY (USER_ID, domain),
363
-  KEY USER_ID_2 (USER_ID)
363
+  PRIMARY KEY (user, domain),
364
+  KEY user_2 (user)
364 365
 ) $TABLE_TYPE;
365 366
 
366 367
 # hook-table for all posssible future config values
... ...
@@ -413,9 +414,9 @@ CREATE TABLE uri (
413 414
 # add an admin user "admin" with password==heslo, 
414 415
 # so that one can try it out on quick start
415 416
 
416
-INSERT INTO subscriber (USER_ID, PASSWORD, FIRST_NAME, LAST_NAME, PHONE, 
417
-	EMAIL_ADDRESS, DATETIME_CREATED, DATETIME_MODIFIED, confirmation, 
418
-	flag, SendNotification, Greeting, HA1, domain, ha1b, phplib_id, perms ) 
417
+INSERT INTO subscriber (user, password, first_name, last_name, phone, 
418
+	email_address, datetime_created, datetime_modified, confirmation, 
419
+	flag, sendnotification, greeting, ha1, domain, ha1b, phplib_id, perms ) 
419 420
 	VALUES ( 'admin', 'heslo', 'Initial', 'Admin', '123', 
420 421
 	'root@localhost', '2002-09-04 19:37:45', '0000-00-00 00:00:00', 
421 422
 	'57DaSIPuCm52UNe54LF545750cfdL48OMZfroM53', 'o', '', '',