Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
08bc7956
Commit
08bc7956
authored
10 years ago
by
Giovannoni Laurent
Browse files
Options
Downloads
Patches
Plain Diff
FEAT
#1432
pb with sequence
parent
47a2dbad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/trunk/sql/150.sql
+5
-2
5 additions, 2 deletions
core/trunk/sql/150.sql
with
5 additions
and
2 deletions
core/trunk/sql/150.sql
+
5
−
2
View file @
08bc7956
...
@@ -228,12 +228,16 @@ ALTER TABLE res_business ADD locker_user_id character varying(255) DEFAULT NULL:
...
@@ -228,12 +228,16 @@ ALTER TABLE res_business ADD locker_user_id character varying(255) DEFAULT NULL:
ALTER
TABLE
res_business
DROP
COLUMN
IF
EXISTS
locker_time
;
ALTER
TABLE
res_business
DROP
COLUMN
IF
EXISTS
locker_time
;
ALTER
TABLE
res_business
ADD
locker_time
timestamp
without
time
zone
;
ALTER
TABLE
res_business
ADD
locker_time
timestamp
without
time
zone
;
ALTER
TABLE
lc_stack
DROP
COLUMN
IF
EXISTS
work_batch
;
ALTER
TABLE
lc_stack
ADD
COLUMN
work_batch
bigint
;
ALTER
TABLE
lc_stack
ADD
COLUMN
work_batch
bigint
;
ALTER
TABLE
lc_stack
DROP
COLUMN
IF
EXISTS
regex
;
ALTER
TABLE
lc_stack
ADD
COLUMN
regex
character
varying
(
32
);
ALTER
TABLE
lc_stack
ADD
COLUMN
regex
character
varying
(
32
);
ALTER
TABLE
res_letterbox
DROP
COLUMN
IF
EXISTS
confidentiality
;
ALTER
TABLE
res_letterbox
DROP
COLUMN
IF
EXISTS
confidentiality
;
ALTER
TABLE
res_letterbox
ADD
confidentiality
character
(
1
);
ALTER
TABLE
res_letterbox
ADD
confidentiality
character
(
1
);
DROP
TABLE
IF
EXISTS
listinstance_history
;
DROP
SEQUENCE
IF
EXISTS
listinstance_history_id_seq
;
DROP
SEQUENCE
IF
EXISTS
listinstance_history_id_seq
;
CREATE
SEQUENCE
listinstance_history_id_seq
CREATE
SEQUENCE
listinstance_history_id_seq
INCREMENT
1
INCREMENT
1
...
@@ -242,7 +246,6 @@ MAXVALUE 9223372036854775807
...
@@ -242,7 +246,6 @@ MAXVALUE 9223372036854775807
START
1
START
1
CACHE
1
;
CACHE
1
;
DROP
TABLE
IF
EXISTS
listinstance_history
;
CREATE
TABLE
listinstance_history
CREATE
TABLE
listinstance_history
(
(
listinstance_history_id
bigint
NOT
NULL
DEFAULT
nextval
(
'listinstance_history_id_seq'
::
regclass
),
listinstance_history_id
bigint
NOT
NULL
DEFAULT
nextval
(
'listinstance_history_id_seq'
::
regclass
),
...
@@ -254,6 +257,7 @@ CONSTRAINT listinstance_history_pkey PRIMARY KEY (listinstance_history_id)
...
@@ -254,6 +257,7 @@ CONSTRAINT listinstance_history_pkey PRIMARY KEY (listinstance_history_id)
)
)
WITH
(
OIDS
=
FALSE
);
WITH
(
OIDS
=
FALSE
);
DROP
TABLE
IF
EXISTS
listinstance_history_details
;
DROP
SEQUENCE
IF
EXISTS
listinstance_history_details_id_seq
;
DROP
SEQUENCE
IF
EXISTS
listinstance_history_details_id_seq
;
CREATE
SEQUENCE
listinstance_history_details_id_seq
CREATE
SEQUENCE
listinstance_history_details_id_seq
INCREMENT
1
INCREMENT
1
...
@@ -262,7 +266,6 @@ MAXVALUE 9223372036854775807
...
@@ -262,7 +266,6 @@ MAXVALUE 9223372036854775807
START
1
START
1
CACHE
1
;
CACHE
1
;
DROP
TABLE
IF
EXISTS
listinstance_history_details
;
CREATE
TABLE
listinstance_history_details
CREATE
TABLE
listinstance_history_details
(
(
listinstance_history_details_id
bigint
NOT
NULL
DEFAULT
nextval
(
'listinstance_history_details_id_seq'
::
regclass
),
listinstance_history_details_id
bigint
NOT
NULL
DEFAULT
nextval
(
'listinstance_history_details_id_seq'
::
regclass
),
...
...
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