Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Database
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MediaDB_V2
Database
Commits
52107922
Commit
52107922
authored
Feb 17, 2018
by
Nico Schallehn
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RC8
parent
440acdd5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
21 deletions
+0
-21
MediaDB2.mwb
MediaDB2.mwb
+0
-0
MediaDB2.sql
MediaDB2.sql
+0
-21
No files found.
MediaDB2.mwb
View file @
52107922
No preview for this file type
MediaDB2.sql
View file @
52107922
...
...
@@ -169,21 +169,6 @@ ENGINE = InnoDB;
SHOW
WARNINGS
;
-- -----------------------------------------------------
-- Table `MediaDB2`.`Roles`
-- -----------------------------------------------------
DROP
TABLE
IF
EXISTS
`MediaDB2`
.
`Roles`
;
SHOW
WARNINGS
;
CREATE
TABLE
IF
NOT
EXISTS
`MediaDB2`
.
`Roles`
(
`role_ID`
VARCHAR
(
9
)
NOT
NULL
,
`role`
VARCHAR
(
90
)
NULL
,
PRIMARY
KEY
(
`role_ID`
),
UNIQUE
INDEX
`role_ID_UNIQUE`
(
`role_ID`
ASC
))
ENGINE
=
InnoDB
;
SHOW
WARNINGS
;
-- -----------------------------------------------------
-- Table `MediaDB2`.`MediaObjectPersons`
-- -----------------------------------------------------
...
...
@@ -198,7 +183,6 @@ CREATE TABLE IF NOT EXISTS `MediaDB2`.`MediaObjectPersons` (
`type`
ENUM
(
'actor'
,
'director'
,
'writer'
)
NOT
NULL
,
INDEX
`imdb_id_idx`
(
`imdb_id`
ASC
),
INDEX
`actor_id_idx`
(
`actor_id`
ASC
),
INDEX
`fk_MediaObjectPersons_Roles1_idx`
(
`role_id`
ASC
),
CONSTRAINT
`imdb_id_MediaObj_Persons`
FOREIGN
KEY
(
`imdb_id`
)
REFERENCES
`MediaDB2`
.
`MediaObjects`
(
`imdb_id`
)
...
...
@@ -208,11 +192,6 @@ CREATE TABLE IF NOT EXISTS `MediaDB2`.`MediaObjectPersons` (
FOREIGN
KEY
(
`actor_id`
)
REFERENCES
`MediaDB2`
.
`Persons`
(
`person_id`
)
ON
DELETE
NO
ACTION
ON
UPDATE
NO
ACTION
,
CONSTRAINT
`fk_MediaObjectPersons_Roles1`
FOREIGN
KEY
(
`role_id`
)
REFERENCES
`MediaDB2`
.
`Roles`
(
`role_ID`
)
ON
DELETE
NO
ACTION
ON
UPDATE
NO
ACTION
)
ENGINE
=
InnoDB
;
...
...
Nico Schallehn
@nico
mentioned in issue
#4 (closed)
·
Feb 17, 2018
mentioned in issue
#4 (closed)
mentioned in issue #4
Toggle commit list
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