Permalink
Browse files

Fix schema from ac4e2d9

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...
1 parent d07523a commit 8cdf5daa069a55712996afc7c5a3b9e3d97ff82b @wagnerrp wagnerrp committed Jul 8, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 mythtv/libs/libmythtv/dbcheck.cpp
@@ -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

0 comments on commit 8cdf5da

Please sign in to comment.