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
d74f855b
Commit
d74f855b
authored
Nov 22, 2012
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed upgrade script
parent
98bbd54f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
upgrade-5.2.0b9-5.2.0b10.sql
sql/postgresql/upgrade/upgrade-5.2.0b9-5.2.0b10.sql
+20
-1
No files found.
sql/postgresql/upgrade/upgrade-5.2.0b9-5.2.0b10.sql
View file @
d74f855b
...
...
@@ -2,7 +2,26 @@
-- Application Data Links --
----------------------------
create
sequence
acs_data_links_seq
start
with
1
;
create
or
replace
function
inline_0
()
returns
integer
as
$
body
$
declare
v_count
integer
;
begin
select
count
(
*
)
into
v_count
from
pg_class
where
lower
(
relname
)
=
'acs_data_links_seq'
;
IF
v_count
=
0
THEN
create
sequence
acs_data_links_seq
start
with
1
;
return
0
;
END
IF
;
return
1
;
end
;
$
body
$
language
'plpgsql'
;
select
inline_0
();
drop
function
inline_0
();
create
table
acs_data_links
(
rel_id
integer
not
null
...
...
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