Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
edc6c3dc
Commit
edc6c3dc
authored
Sep 08, 2021
by
Francesc Guasch
Browse files
install: foreign key for domain_ports
parent
264050d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/mysql/domain_ports.sql
View file @
edc6c3dc
CREATE
TABLE
`domain_ports`
(
CREATE
TABLE
`domain_ports`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`id_domain`
int
(
11
)
NOT
NULL
references
domain
(
id
),
`id_domain`
int
(
11
)
NOT
NULL
references
domain
s
(
id
)
on
delete
cascade
,
`public_port`
int
(
11
)
DEFAULT
NULL
,
`public_port`
int
(
11
)
DEFAULT
NULL
,
`internal_port`
int
(
11
)
DEFAULT
NULL
,
`internal_port`
int
(
11
)
DEFAULT
NULL
,
`name`
varchar
(
32
)
DEFAULT
NULL
,
`name`
varchar
(
32
)
DEFAULT
NULL
,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment