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; |