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
9fc6a1de
Verified
Commit
9fc6a1de
authored
6 years ago
by
Giovannoni Laurent
Browse files
Options
Downloads
Patches
Plain Diff
FIX pb with sequence
parent
163290c1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sql/sample.sql
+1
-1
1 addition, 1 deletion
sql/sample.sql
with
1 addition
and
1 deletion
sql/sample.sql
+
1
−
1
View file @
9fc6a1de
...
@@ -94,7 +94,7 @@ INSERT INTO adr_letterbox (id, res_id, type, docserver_id, path, filename, finge
...
@@ -94,7 +94,7 @@ INSERT INTO adr_letterbox (id, res_id, type, docserver_id, path, filename, finge
VALUES
(
27
,
13
,
'TNL'
,
'TNL_MLB'
,
'tests#'
,
'arret_maladie.png'
,
'0'
);
VALUES
(
27
,
13
,
'TNL'
,
'TNL_MLB'
,
'tests#'
,
'arret_maladie.png'
,
'0'
);
INSERT
INTO
adr_letterbox
(
id
,
res_id
,
type
,
docserver_id
,
path
,
filename
,
fingerprint
)
INSERT
INTO
adr_letterbox
(
id
,
res_id
,
type
,
docserver_id
,
path
,
filename
,
fingerprint
)
VALUES
(
28
,
14
,
'TNL'
,
'TNL_MLB'
,
'tests#'
,
'inscription_ecole.png'
,
'0'
);
VALUES
(
28
,
14
,
'TNL'
,
'TNL_MLB'
,
'tests#'
,
'inscription_ecole.png'
,
'0'
);
Select
setval
(
'adr_letterbox_id_seq'
,
(
select
max
(
res_
id
)
+
1
from
adr_letterbox
),
false
);
Select
setval
(
'adr_letterbox_id_seq'
,
(
select
max
(
id
)
+
1
from
adr_letterbox
),
false
);
TRUNCATE
TABLE
res_attachments
;
TRUNCATE
TABLE
res_attachments
;
ALTER
SEQUENCE
res_attachment_res_id_seq
restart
WITH
1
;
ALTER
SEQUENCE
res_attachment_res_id_seq
restart
WITH
1
;
...
...
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