Setting up Vapor with Postgresql

Episode #362 | 17 minutes | published on November 9, 2018 | Uses Vapor-3.0.8, fluent-postgresql-1.0.0
Subscribers Only
In this episode we set up a new Vapor application to use Postgresql as the database. We'll see how to configure FluentPostgreSQL, how to create and set up a connection to the database, and look at the defaults for PostgresSQLModel. We'll also discuss the pros and cons of using UUID primary keys over auto-incrementing integers.

Episode Links

  • - My preferred way of installing Postgres on the Mac
  • Postico - My Postgres client of choice
blog comments powered by Disqus