Fix migration for postgres, #381
Ok really Add name to enum, postgres compatiblei, closes #381