Dump schema using new style hash

Make hash in schema dump conform to rails commit
b485b8a06626be3a1b8a2037092a9dda1b28e8a4 from Sep 7, 2012