diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-08-19 17:28:03 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-08-19 17:28:03 +0200 |
commit | d85466165bc2c72cc6565d624af0ac2e397c0702 (patch) | |
tree | acf82f735c187c23fdca3a2662865d1217e319b7 | |
parent | Die on creation failure. (diff) | |
download | oldgen-zmusic-d85466165bc2c72cc6565d624af0ac2e397c0702.tar.xz oldgen-zmusic-d85466165bc2c72cc6565d624af0ac2e397c0702.zip |
Smaller db key needed.
-rw-r--r-- | updatedatabase.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updatedatabase.php b/updatedatabase.php index ef84d27..acedb9a 100644 --- a/updatedatabase.php +++ b/updatedatabase.php @@ -255,7 +255,7 @@ function scanDirectory($directory) function setupDatabase() { $r = mysql_query("CREATE TABLE IF NOT EXISTS `musictags` ( - `file` VARCHAR( 512 ) NOT NULL , + `file` VARCHAR( 255 ) NOT NULL , `sha1` VARCHAR( 64 ) NOT NULL , `lastmodified` INT NOT NULL , `format` VARCHAR( 255 ) NULL , |