Migration to deal with project globals in PostGresql