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
1bbe6a04
Commit
1bbe6a04
authored
7 years ago
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
[FEAT] 170.sql
parent
8bab4aa8
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/160_to_170.sql
+44
-0
44 additions, 0 deletions
sql/160_to_170.sql
with
44 additions
and
0 deletions
sql/160_to_170.sql
+
44
−
0
View file @
1bbe6a04
...
...
@@ -290,4 +290,48 @@ UPDATE ENTITIES SET BUSINESS_ID = 'org_987654321_Versant';
UPDATE
ENTITIES
SET
ARCHIVAL_AGENCY
=
'org_123456789_Archives'
;
UPDATE
ENTITIES
SET
ARCHIVAL_AGREEMENT
=
'MAARCH_LES_BAINS_ACTES'
;
/*************DIS UPDATE***************/
DROP
SEQUENCE
IF
EXISTS
allowed_ip_id_seq
CASCADE
;
CREATE
SEQUENCE
allowed_ip_id_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
1
CACHE
1
;
DROP
TABLE
IF
EXISTS
allowed_ip
;
CREATE
TABLE
allowed_ip
(
id
integer
NOT
NULL
DEFAULT
nextval
(
'allowed_ip_id_seq'
::
regclass
),
ip
character
varying
(
50
)
NOT
NULL
,
CONSTRAINT
allowed_ip_pkey
PRIMARY
KEY
(
id
)
)
WITH
(
OIDS
=
FALSE
);
DROP
SEQUENCE
IF
EXISTS
user_signatures_seq
CASCADE
;
CREATE
SEQUENCE
user_signatures_seq
INCREMENT
1
MINVALUE
1
MAXVALUE
9223372036854775807
START
1
CACHE
1
;
DROP
TABLE
IF
EXISTS
user_signatures
;
CREATE
TABLE
user_signatures
(
id
bigint
NOT
NULL
DEFAULT
nextval
(
'user_signatures_seq'
::
regclass
),
user_id
character
varying
(
128
)
NOT
NULL
,
signature_label
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
signature_path
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
signature_file_name
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
fingerprint
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
CONSTRAINT
user_signatures_pkey
PRIMARY
KEY
(
id
)
)
WITH
(
OIDS
=
FALSE
);
ALTER
TABLE
users
DROP
COLUMN
IF
EXISTS
ra_code
;
ALTER
TABLE
users
ADD
ra_code
character
varying
(
255
);
ALTER
TABLE
users
DROP
COLUMN
IF
EXISTS
ra_expiration_date
;
ALTER
TABLE
users
ADD
ra_expiration_date
timestamp
without
time
zone
;
UPDATE
parameters
SET
param_value_int
=
'170'
WHERE
id
=
'database_version'
;
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