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
b29d783b
Commit
b29d783b
authored
Jan 19, 2011
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed upgrade issue to V4.0
parent
d2274ba2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
upgrade-5.2.0d1-5.2.0d2.sql
sql/postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql
+11
-1
No files found.
sql/postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql
View file @
b29d783b
...
...
@@ -19,7 +19,12 @@ create function inline_0 ()
returns
integer
as
'
declare
attr_id acs_attributes.attribute_id%TYPE;
v_exists_p integer;
begin
select count(*) into v_exists_p
from acs_attributes
where object_type =
''
acs_object
''
and attribute_name =
''
package_id
''
;
IF 0 = v_exists_p THEN
attr_id := acs_attribute__create_attribute (
''
acs_object
''
,
''
package_id
''
,
...
...
@@ -35,7 +40,12 @@ begin
''
type_specific
''
,
''
f
''
);
END IF;
select count(*) into v_exists_p
from acs_attributes
where object_type =
''
acs_object
''
and attribute_name =
''
title
''
;
IF 0 = v_exists_p THEN
attr_id := acs_attribute__create_attribute (
''
acs_object
''
,
''
title
''
,
...
...
@@ -51,7 +61,7 @@ begin
''
type_specific
''
,
''
f
''
);
END IF;
return 0;
end;'
language
'plpgsql'
;
...
...
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