fixed bug where metadata tables couldn't be created due to large varchar
key

Change-Id: I5bde6ab1f51250ccd43e04002d7eb1ac1fb3aeef