Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8a57326a
authored
Sep 05, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.ujaen.es/yotta/pictogram
into develop
parents
ba56ada0
5d85b1f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
sails/roles/database/files/upgrade.sql
sails/roles/database/files/upgrade.sql
View file @
8a57326a
...
@@ -117,6 +117,9 @@ INSERT INTO sup_off (id_sup, id_off)
...
@@ -117,6 +117,9 @@ INSERT INTO sup_off (id_sup, id_off)
SELECT
id
,
id_off
SELECT
id
,
id_off
FROM
supervisor
;
FROM
supervisor
;
ALTER
TABLE
supervisor
DROP
COLUMN
id_off
;
ALTER
TABLE
student
DROP
COLUMN
id_off
;
ALTER
TABLE
stu_sup
ALTER
TABLE
stu_sup
ADD
CONSTRAINT
`stu_sup_ibfk_1`
FOREIGN
KEY
(
`id_stu`
)
REFERENCES
`student`
(
`id`
);
ADD
CONSTRAINT
`stu_sup_ibfk_1`
FOREIGN
KEY
(
`id_stu`
)
REFERENCES
`student`
(
`id`
);
ALTER
TABLE
stu_sup
ALTER
TABLE
stu_sup
...
...
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