37 |
|
unique (distinguished_name); |
38 |
|
|
39 |
|
alter table t_person |
40 |
< |
add constraint fk_person_creat |
40 |
> |
add constraint fk_person_creatby |
41 |
|
foreign key (created_by) references t_person (id); |
42 |
|
|
43 |
|
alter table t_person |
44 |
< |
add constraint fk_person_mod |
44 |
> |
add constraint fk_person_modifby |
45 |
|
foreign key (modified_by) references t_person (id); |
46 |
|
|
47 |
|
-- |
59 |
|
foreign key (convenor) references t_person (id); |
60 |
|
|
61 |
|
alter table t_physics_group |
62 |
< |
add constraint fk_physicsgroup_creat |
62 |
> |
add constraint fk_physicsgroup_creatby |
63 |
|
foreign key (created_by) references t_person (id); |
64 |
|
|
65 |
|
alter table t_physics_group |
66 |
< |
add constraint fk_physicsgroup_mod |
66 |
> |
add constraint fk_physicsgroup_modifby |
67 |
|
foreign key (modified_by) references t_person (id); |
68 |
|
|
69 |
|
-- ====================================================================== |
70 |
< |
create index ix_person_creat |
70 |
> |
create index ix_person_creatby |
71 |
|
on t_person (created_by) |
72 |
|
tablespace CMS_DBS_INDX01; |
73 |
|
|
74 |
< |
create index ix_person_mod |
74 |
> |
create index ix_person_modifby |
75 |
|
on t_person (modified_by) |
76 |
|
tablespace CMS_DBS_INDX01; |
77 |
|
|
80 |
|
on t_physics_group (convenor) |
81 |
|
tablespace CMS_DBS_INDX01; |
82 |
|
|
83 |
< |
create index ix_physicsgroup_creat |
83 |
> |
create index ix_physicsgroup_creatby |
84 |
|
on t_physics_group (created_by) |
85 |
|
tablespace CMS_DBS_INDX01; |
86 |
|
|
87 |
< |
create index ix_physicsgroup_mod |
87 |
> |
create index ix_physicsgroup_modifby |
88 |
|
on t_physics_group (modified_by) |
89 |
|
tablespace CMS_DBS_INDX01; |