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
ad92c087
Commit
ad92c087
authored
Jan 05, 2016
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Working on OpenACS 5.7 -> OpenACS 5.9 upgrade
parent
63a0213d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
upgrade-5.9.0d4-5.9.0d5.sql
sql/postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql
+0
-30
No files found.
sql/postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql
View file @
ad92c087
...
...
@@ -136,35 +136,6 @@ $$ LANGUAGE plpgsql;
--
drop
view
if
exists
file_storage_objectx
;
CREATE
VIEW
file_storage_objectx
AS
SELECT
acs_objects
.
object_id
,
acs_objects
.
object_type
,
acs_objects
.
title
AS
object_title
,
acs_objects
.
package_id
AS
object_package_id
,
acs_objects
.
context_id
,
acs_objects
.
security_inherit_p
,
acs_objects
.
creation_user
,
acs_objects
.
creation_date
,
acs_objects
.
creation_ip
,
acs_objects
.
last_modified
,
acs_objects
.
modifying_user
,
acs_objects
.
modifying_ip
,
cr
.
revision_id
,
cr
.
title
,
cr
.
item_id
,
cr
.
description
,
cr
.
publish_date
,
cr
.
mime_type
,
cr
.
nls_language
,
i
.
name
,
i
.
parent_id
FROM
acs_objects
,
cr_revisions
cr
,
cr_items
i
,
cr_text
WHERE
((
acs_objects
.
object_id
=
cr
.
revision_id
)
AND
(
cr
.
item_id
=
i
.
item_id
));
select
content_type__refresh_view
(
'file_storage_object'
);
create
view
file_storage_objectxi
as
select
-- acs_objects.object_id, acs_objects.object_type, acs_objects.title as object_title, acs_objects.package_id as object_package_id,
-- acs_objects.context_id, acs_objects.security_inherit_p, acs_objects.creation_user, acs_objects.creation_date,
-- acs_objects.creation_ip, acs_objects.last_modified, acs_objects.modifying_user, acs_objects.modifying_ip,
-- cr.revision_id, cr.title, cr.item_id,
content_revision__get_content
(
cr
.
revision_id
)
as
data
,
cr_text
.
text_data
as
text
,
cr
.
description
,
cr
.
publish_date
,
cr
.
mime_type
,
cr
.
nls_language
,
file_storage_objectx
.
*
from
acs_objects
,
cr_revisions
cr
,
cr_text
,
file_storage_objectx
where
acs_objects
.
object_id
=
cr
.
revision_id
and
acs_objects
.
object_id
=
file_storage_objectx
.
object_id
;
drop
view
if
exists
cr_revisionsx
;
CREATE
VIEW
cr_revisionsx
AS
SELECT
acs_objects
.
object_id
,
acs_objects
.
object_type
,
acs_objects
.
title
AS
object_title
,
acs_objects
.
package_id
AS
object_package_id
,
...
...
@@ -265,7 +236,6 @@ tree_right(t1.tree_sortkey) and t1.object_type = 'content_revision';
--
-- we have to recreate fs_urls_full, when file-storage is in use,
-- since the view exports acs_objects.*
...
...
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