diff --git a/src/main/resources/database/mysql/alter_8_1_x_to_8_2_0.sql b/src/main/resources/database/mysql/alter_8_1_x_to_8_2_0.sql index ea1f9a0fb971c5778b0bde90bb5195bc147aeb52..3295c79aa9c73112245a81ca45993c3ed0e93322 100644 --- a/src/main/resources/database/mysql/alter_8_1_x_to_8_2_0.sql +++ b/src/main/resources/database/mysql/alter_8_1_x_to_8_2_0.sql @@ -23,11 +23,11 @@ alter table o_gp_bgarea add constraint idx_area_to_resource foreign key (fk_reso -- view create or replace view o_gp_business_to_repository_v as ( - select - grp.group_id as grp_id, - repoentry.repositoryentry_id as re_id, - repoentry.displayname as re_displayname - from o_gp_business as grp - inner join o_gp_business_to_resource as relation on (relation.fk_group = grp.group_id) - inner join o_repositoryentry as repoentry on (repoentry.fk_olatresource = relation.fk_resource) + select + grp.group_id as grp_id, + repoentry.repositoryentry_id as re_id, + repoentry.displayname as re_displayname + from o_gp_business as grp + inner join o_gp_business_to_resource as relation on (relation.fk_group = grp.group_id) + inner join o_repositoryentry as repoentry on (repoentry.fk_olatresource = relation.fk_resource) ); \ No newline at end of file