Browse code

straighten mess in names of table usr_preferences_types

Karel Kozlik authored on 11/03/2005 09:39:03
Showing 1 changed files
... ...
@@ -254,7 +254,7 @@ INSERT INTO version VALUES ( 'server_monitoring', '1');
254 254
 INSERT INTO version VALUES ( 'server_monitoring_agg', '1');
255 255
 INSERT INTO version VALUES ( 'trusted', '1');
256 256
 INSERT INTO version VALUES ( 'usr_preferences', '1');
257
-INSERT INTO version VALUES ( 'preferences_types', '1');
257
+INSERT INTO version VALUES ( 'usr_preferences_types', '1');
258 258
 INSERT INTO version VALUES ( 'admin_privileges', '1');
259 259
 INSERT INTO version VALUES ( 'calls_forwarding', '1');
260 260
 INSERT INTO version VALUES ( 'speed_dial', '1');
... ...
@@ -601,11 +601,11 @@ CREATE TABLE usr_preferences (
601 601
 
602 602
 
603 603
 #
604
-# Table structure for table 'preferences_types' -- types of atributes in preferences
604
+# Table structure for table 'usr_preferences_types' -- types of atributes in preferences
605 605
 #
606 606
 
607
-CREATE TABLE preferences_types (
608
-  att_name varchar(50) NOT NULL default '',
607
+CREATE TABLE usr_preferences_types (
608
+  att_name varchar(32) NOT NULL default '',
609 609
   att_rich_type varchar(32) NOT NULL default 'string',
610 610
   att_raw_type int(11) unsigned NOT NULL default '2',
611 611
   att_type_spec text,