added abstract postgres dao and flyway db migration