Fixing sqlite to postgres for prod