Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
d2795990
Commit
d2795990
authored
11 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-751: copy the right SQL statement for oracle and postgresql in the right file
parent
659060f5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/resources/database/oracle/alter_9_0_0_to_9_1_0.sql
+11
-0
11 additions, 0 deletions
src/main/resources/database/oracle/alter_9_0_0_to_9_1_0.sql
src/main/resources/database/postgresql/alter_9_0_0_to_9_1_0.sql
+1
-10
1 addition, 10 deletions
...in/resources/database/postgresql/alter_9_0_0_to_9_1_0.sql
with
12 additions
and
10 deletions
src/main/resources/database/oracle/alter_9_0_0_to_9_1_0.sql
+
11
−
0
View file @
d2795990
...
...
@@ -2,4 +2,15 @@
alter
table
o_bs_authentication
add
(
salt
varchar
(
255
));
alter
table
o_bs_authentication
add
(
hashalgorithm
varchar
(
16
));
alter
table
o_info_message
add
message_copy
varchar2
(
4000
);
update
o_info_message
set
message_copy
=
message
;
Commit
;
update
o_info_message
set
message
=
null
;
commit
;
alter
table
o_info_message
modify
message
long
;
alter
table
o_info_message
modify
message
clob
;
update
o_info_message
set
message
=
message_copy
;
Commit
;
alter
table
o_info_message
drop
column
message_copy
;
This diff is collapsed.
Click to expand it.
src/main/resources/database/postgresql/alter_9_0_0_to_9_1_0.sql
+
1
−
10
View file @
d2795990
...
...
@@ -3,13 +3,4 @@ alter table o_bs_authentication add column salt varchar(255) default null;
alter
table
o_bs_authentication
add
column
hashalgorithm
varchar
(
16
)
default
null
;
alter
table
o_info_message
add
message_copy
varchar2
(
4000
);
update
o_info_message
set
message_copy
=
message
;
Commit
;
update
o_info_message
set
message
=
null
;
commit
;
alter
table
o_info_message
modify
message
long
;
alter
table
o_info_message
modify
message
clob
;
update
o_info_message
set
message
=
message_copy
;
Commit
;
alter
table
o_info_message
drop
column
message_copy
;
\ No newline at end of file
alter
table
o_info_message
alter
column
message
type
text
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment