Fix postgresql create script when creating schema