Skip to content

Commit

Permalink
Fix schema from ac4e2d9
Browse files Browse the repository at this point in the history
Forgot to copy back the final version after testing in ac4e2d9. Previous
version would have failed before making any changes to the schema, so
this does not need a further bump.
  • Loading branch information
wagnerrp committed Jul 8, 2012
1 parent d07523a commit 8cdf5da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mythtv/libs/libmythtv/dbcheck.cpp
Expand Up @@ -2250,22 +2250,22 @@ NULL
" `fileid` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,"
" `filesize` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,"
" `filehash` VARCHAR(64) NOT NULL DEFAULT '',"
" `added` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,"
" `added` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,"
" PRIMARY KEY (`fileid`),"
" UNIQUE KEY filehash (`filehash`)"
") ENGINE=MyISAM DEFAULT CHARSET=utf8;",
"CREATE TABLE scannerpath ("
" `fileid` BIGINT(20) UNSIGNED NOT NULL,"
" `hostname` VARCHAR(64) NOT NULL DEFAULT 'localhost',"
" `storagegroup` VARCHAR(32) NOT NULL DEFAULT 'Default',"
" `filename` VARCHAR(255) NOT NULL DEFAULT '',"
" `filename` VARCHAR(255) NOT NULL DEFAULT '',"
" PRIMARY KEY (`fileid`),"
" UNIQUE KEY path (`storagegroup`, `hostname`, `filename`)"
") ENGINE=MyISAM DEFAULT CHARSET=utf8;",
"CREATE TABLE videopart ("
" `fileid` BIGINT(20) UNSIGNED NOT NULL,"
" `videoid` INT(10) UNSIGNED NOT NULL,"
" `order` SMALLINT UNSIGNED NOT NULL DEFAULT 1,"
" `fileid` BIGINT(20) UNSIGNED NOT NULL,"
" `videoid` INT(10) UNSIGNED NOT NULL,"
" `order` SMALLINT UNSIGNED NOT NULL DEFAULT 1,"
" PRIMARY KEY `part` (`videoid`, `order`)"
") ENGINE=MyISAM DEFAULT CHARSET=utf8;",
NULL
Expand Down

0 comments on commit 8cdf5da

Please sign in to comment.