Commit 1a1d62d6 authored by Nico Schallehn's avatar Nico Schallehn

RC7

parent 67046e7e
No preview for this file type
......@@ -31,6 +31,7 @@ CREATE TABLE IF NOT EXISTS `MediaDB2`.`MediaObjects` (
`summary` TEXT NULL,
`tagline` TEXT NULL,
`update` DATETIME NULL,
`type` ENUM('series', 'episode', 'movie') NOT NULL,
PRIMARY KEY (`imdb_id`),
UNIQUE INDEX `imdbID_UNIQUE` (`imdb_id` ASC))
ENGINE = InnoDB;
......@@ -194,7 +195,7 @@ CREATE TABLE IF NOT EXISTS `MediaDB2`.`MediaObjectPersons` (
`actor_id` VARCHAR(9) NOT NULL,
`role_id` VARCHAR(9) NULL,
`role` VARCHAR(255) NULL,
`Typ` ENUM('actor', 'director', 'writer') NULL,
`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),
......@@ -273,7 +274,7 @@ CREATE TABLE IF NOT EXISTS `MediaDB2`.`Files` (
`video_container` VARCHAR(255) NULL,
`video_codec` VARCHAR(255) NULL,
`hdr` VARCHAR(255) NULL,
`bitdepth` VARCHAR(255) NULL,
`bitdepth` INT NULL,
`duration` INT NULL,
`overall_bitrate` INT NULL,
`resolution` VARCHAR(255) NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment