Code cleaning : preference are now in a separate table

This commit is contained in:
sparkyx 2005-10-25 12:10:28 +00:00
parent 29c9a40ded
commit 8165e96780
22 changed files with 71 additions and 44 deletions

View file

@ -1,4 +1,4 @@
begin;
create table user_global_pref (
user_id text,
parameter_type text,
@ -12,6 +12,9 @@ comment on column user_global_pref.parameter_value is 'the value of parameter ';
alter table user_global_pref add constraint pk_user_global_pref primary key (user_id,parameter_type);
insert into user_global_pref select use_login,'PAGESIZE','50' from ac_users;
insert into user_global_pref select use_login,'THEME',use_theme from ac_users;
alter table ac_users drop use_usertype;
alter table ac_users drop use_theme;
update version set val=7;
commit;