modified migration in hopes of getting pg to function