Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
legi
soft
gestex
Commits
7ac6d2c3
Commit
7ac6d2c3
authored
Jul 12, 2021
by
Estéban Ristich
Browse files
Fix Issue
#62
Add table recipe in SQL upgrade 5
parent
e8b190a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
db-upgrade-4-5.sql
View file @
7ac6d2c3
...
...
@@ -39,3 +39,13 @@ CREATE TABLE IF NOT EXISTS `intervention` (
FOREIGN
KEY
(
`supplier_id`
)
REFERENCES
`fournisseurs`
(
`id`
),
FOREIGN
KEY
(
`equipment_id`
)
REFERENCES
`listing`
(
`id`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
1
CHARSET
=
utf8
;
CREATE
TABLE
IF
NOT
EXISTS
`recipe`
(
`id`
INT
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`pathname`
VARCHAR
(
500
)
NOT
NULL
,
`intervention_id`
INT
(
11
)
NOT
NULL
,
PRIMARY
KEY
(
`id`
),
FOREIGN
KEY
(
`intervention_id`
)
REFERENCES
`intervention`
(
`id`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
1
CHARSET
=
utf8
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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