Skip to content

Posts tagged tips

Dockerfile makes adding optional Swift dependencies easier

A simple fix for when you happen upon an "error while loading shared libraries" libcurl4 or libxml2

Enable SQL Query Logging

Learn how to enable query logging in Fluent to see the generated SQL queries

Adding a database table index

Fluent doesn't yet support database indexes natively, but you can add one in a migration by dropping down to SQLKit. Here's how, with examples.

How to listen to connections from both IPv4 and IPv6 addresses

See how to listen to connections from both IPv4 and IPv6 connections in Vapor