Browse code

'realm' in subscriber and pending tables changed to 'domain' because it will contain domain part of URI if domain support enabled. PHP scripts using the tables should be updated too.

Jan Janak authored on 23/01/2003 22:45:49
Showing 1 changed files
... ...
@@ -284,7 +284,7 @@ CREATE TABLE pending (
284 284
   SendNotification varchar(50) NOT NULL default '',
285 285
   Greeting varchar(50) NOT NULL default '',
286 286
   HA1 varchar(128) NOT NULL default '',
287
-  REALM varchar(128) NOT NULL default '',
287
+  domain varchar(128) NOT NULL default '',
288 288
   ha1b varchar(128) NOT NULL default '',
289 289
   perms varchar(32) default NULL,
290 290
   allow_find char(1) NOT NULL default '0',
... ...
@@ -331,8 +331,6 @@ CREATE TABLE reserved (
331 331
 
332 332
 #
333 333
 # Table structure for table 'subscriber' -- user database
334
-# (note: realm is only informational -- it is defined
335
-# in ser scripts)
336 334
 #
337 335
 
338 336
 
... ...
@@ -351,7 +349,7 @@ CREATE TABLE subscriber (
351 349
   SendNotification varchar(50) NOT NULL default '',
352 350
   Greeting varchar(50) NOT NULL default '',
353 351
   HA1 varchar(128) NOT NULL default '',
354
-  REALM varchar(128) NOT NULL default '',
352
+  domain varchar(128) NOT NULL default '',
355 353
   ha1b varchar(128) NOT NULL default '',
356 354
   perms varchar(32) default NULL,
357 355
   allow_find char(1) NOT NULL default '0',
... ...
@@ -413,7 +411,7 @@ CREATE TABLE uri (
413 411
 
414 412
 INSERT INTO subscriber (USER_ID, PASSWORD, FIRST_NAME, LAST_NAME, PHONE, 
415 413
 	EMAIL_ADDRESS, DATETIME_CREATED, DATETIME_MODIFIED, confirmation, 
416
-	flag, SendNotification, Greeting, HA1, REALM, ha1b, phplib_id, perms ) 
414
+	flag, SendNotification, Greeting, HA1, domain, ha1b, phplib_id, perms ) 
417 415
 	VALUES ( 'admin', 'heslo', 'Initial', 'Admin', '123', 
418 416
 	'root@localhost', '2002-09-04 19:37:45', '0000-00-00 00:00:00', 
419 417
 	'57DaSIPuCm52UNe54LF545750cfdL48OMZfroM53', 'o', '', '',