fixed schema. now includes 3.1.0-3.2.0 migration...