Permalink
Browse files

Merge branch 'master' of github.com:chancemedia/mbzdb

  • Loading branch information...
2 parents 7bfd609 + 065870e commit 243c31cbfb4153bd610d1be4423ebaaaa2886d02 Elliot Chance committed Aug 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 backend/mysql.pl
View
@@ -315,7 +315,7 @@ sub backend_mysql_update_schema_from_file {
$parts[$i] = "TEXT";
}
$parts[$i] = "INT NOT NULL" if(uc(substr($parts[$i], 0, 6)) eq "SERIAL");
- $parts[$i] = "CHAR(32)" if(uc(substr($parts[$i], 0, 4)) eq "UUID");
+ $parts[$i] = "CHAR(36)" if(uc(substr($parts[$i], 0, 4)) eq "UUID");
$parts[$i] = "TEXT" if(uc(substr($parts[$i], 0, 4)) eq "CUBE");
$parts[$i] = "CHAR(1)" if(uc(substr($parts[$i], 0, 4)) eq "BOOL");
#$parts[$i] = "VARCHAR(256)" if(uc($parts[$i]) eq "NAME");

0 comments on commit 243c31c

Please sign in to comment.