/[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.3 by sparkyx, Tue Oct 25 12:10:27 2005 UTC revision 1.4 by sparkyx, Tue Oct 25 13:21:14 2005 UTC
# Line 9  comment on column user_global_pref.user_ Line 9  comment on column user_global_pref.user_
9  comment on column user_global_pref.parameter_type is 'the type of parameter ';  comment on column user_global_pref.parameter_type is 'the type of parameter ';
10  comment on column user_global_pref.parameter_value is 'the value of parameter ';  comment on column user_global_pref.parameter_value is 'the value of parameter ';
11    
12    alter table user_global_pref add constraint fk_user_id foreign key (user_id) references ac_users(use_login)  on delete cascade on update cascade;
13  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);
14    
15  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;

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

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