Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-kernel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-kernel
Commits
bdcb553d
Commit
bdcb553d
authored
Jan 04, 2016
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- acs-kernel: Fixed upgrade-script for ]po[ V5.0
parent
a754e616
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
upgrade-5.9.0d4-5.9.0d5.sql
sql/postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql
+8
-6
No files found.
sql/postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql
View file @
bdcb553d
...
...
@@ -129,18 +129,20 @@ $$ LANGUAGE plpgsql;
-- fields.
--
SELECT
t2
.
object_type
,
content_type__refresh_view
(
t2
.
object_type
)
from
acs_object_types
t1
,
acs_object_types
t2
where
t2
.
tree_sortkey
between
t1
.
tree_sortkey
and
tree_right
(
t1
.
tree_sortkey
)
and
t1
.
object_type
=
'content_revision'
;
-- fraber 160104: Disable execution. Execute as part of acs-content-repository upgrade.
--
-- SELECT t2.object_type, content_type__refresh_view(t2.object_type)
-- from acs_object_types t1, acs_object_types t2
-- where t2.tree_sortkey between t1.tree_sortkey and
-- tree_right(t1.tree_sortkey) and t1.object_type = 'content_revision';
--
-- we have to recreate cc_users, since it exports o.*
--
-- fraber 160104: persons has additional .title field in ]po[...
create
or
replace
view
cc_users
as
select
o
.
*
,
pa
.
*
,
pe
.
*
,
u
.
*
,
mr
.
member_state
,
mr
.
rel_id
select
o
.
*
,
pa
.
*
,
pe
.
person_id
,
pe
.
first_names
,
pe
.
last_name
,
u
.
*
,
mr
.
member_state
,
mr
.
rel_id
from
acs_objects
o
,
parties
pa
,
persons
pe
,
users
u
,
group_member_map
m
,
membership_rels
mr
where
o
.
object_id
=
pa
.
party_id
and
pa
.
party_id
=
pe
.
person_id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment