/[phpcompta]/phpcompta/html/admin/sql/patch/ac-upgrade6.sql
ViewVC logotype

Diff of /phpcompta/html/admin/sql/patch/ac-upgrade6.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by sparkyx, Tue Oct 25 09:58:03 2005 UTC revision 1.3 by sparkyx, Tue Oct 25 12:10:27 2005 UTC
# Line 1  Line 1 
1    begin;
2  create table user_global_pref (  create table user_global_pref (
3          user_id text,          user_id text,
4          parameter_type text,          parameter_type text,
# Line 12  comment on column user_global_pref.param Line 12  comment on column user_global_pref.param
12  alter table user_global_pref add constraint pk_user_global_pref primary key (user_id,parameter_type);  alter table user_global_pref add constraint pk_user_global_pref primary key (user_id,parameter_type);
13    
14  insert into user_global_pref select use_login,'PAGESIZE','50' from ac_users;  insert into user_global_pref select use_login,'PAGESIZE','50' from ac_users;
15    insert into user_global_pref select use_login,'THEME',use_theme from ac_users;
16  alter table ac_users drop use_usertype;  alter table ac_users drop use_usertype;
17    alter table ac_users drop use_theme;
18  update version set val=7;  update version set val=7;
19    commit;
20    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26