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
c7a25407
Verified
Commit
c7a25407
authored
6 years ago
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
FEAT #9246 Structure sql
parent
9f42b23c
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/structure.sql
+7
-4
7 additions, 4 deletions
sql/structure.sql
with
7 additions
and
4 deletions
sql/structure.sql
+
7
−
4
View file @
c7a25407
...
...
@@ -294,7 +294,7 @@ CREATE TABLE res_attachments
fulltext_attempts
integer
DEFAULT
NULL
::
integer
,
tnl_result
character
varying
(
10
)
DEFAULT
NULL
::
character
varying
,
tnl_attempts
integer
DEFAULT
NULL
::
integer
,
external_id
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
external_id
jsonb
DEFAULT
'{}'
,
CONSTRAINT
res_attachments_pkey
PRIMARY
KEY
(
res_id
)
)
WITH
(
OIDS
=
FALSE
);
...
...
@@ -1122,7 +1122,7 @@ CREATE TABLE contact_addresses
entity_id
character
varying
(
32
)
NOT
NULL
,
is_private
character
(
1
)
NOT
NULL
DEFAULT
'N'
::
bpchar
,
enabled
character
varying
(
1
)
NOT
NULL
DEFAULT
'Y'
::
bpchar
,
external_id
json
DEFAULT
'{}'
,
external_id
json
b
DEFAULT
'{}'
,
ban_id
character
varying
(
128
),
CONSTRAINT
contact_addresses_pkey
PRIMARY
KEY
(
id
)
)
WITH
(
OIDS
=
FALSE
);
...
...
@@ -1343,7 +1343,8 @@ CREATE TABLE res_letterbox
fulltext_attempts
integer
DEFAULT
NULL
::
integer
,
tnl_result
character
varying
(
10
)
DEFAULT
NULL
::
character
varying
,
tnl_attempts
integer
DEFAULT
NULL
::
integer
,
external_id
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
external_reference
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
external_id
jsonb
DEFAULT
'{}'
,
external_link
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
departure_date
timestamp
without
time
zone
,
opinion_limit_date
timestamp
without
time
zone
default
NULL
,
...
...
@@ -1580,6 +1581,7 @@ account json DEFAULT '{}',
CONSTRAINT
shipping_templates_pkey
PRIMARY
KEY
(
id
)
)
WITH
(
OIDS
=
FALSE
);
CREATE
TABLE
shippings
(
id
serial
NOT
NULL
,
...
...
@@ -1634,6 +1636,7 @@ CREATE OR REPLACE VIEW res_view_letterbox AS
r
.
source
,
r
.
author
,
r
.
reference_number
,
r
.
external_reference
,
r
.
external_id
,
r
.
external_link
,
r
.
departure_date
,
...
...
@@ -1913,7 +1916,7 @@ CREATE TABLE res_version_attachments
fulltext_attempts
integer
DEFAULT
NULL
::
integer
,
tnl_result
character
varying
(
10
)
DEFAULT
NULL
::
character
varying
,
tnl_attempts
integer
DEFAULT
NULL
::
integer
,
external_id
character
varying
(
255
)
DEFAULT
NULL
::
character
varying
,
external_id
jsonb
DEFAULT
'{}'
,
CONSTRAINT
res_version_attachments_pkey
PRIMARY
KEY
(
res_id
)
)
WITH
(
...
...
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