added sqlite to dev only and use postgres otherwise