migrating to postgres and some schedule foundations laid out