News for hackers. Stuff that matters.
Re:Node.js 16 Available Now by hn_throwaway_99 on Wednesday April 21, 2021 @09:44AM (#26889586)
For migrations we actually use knex, but primarily just because it was in place first before I knew about Slonik.

Writing a migration tool is pretty trivially easy - all knex does is let you write an up migration and a down migration, and it keeps track of which migrations have been applied in a DB table. Main thing is that all of our migrations are each in an individual versioned file in our source repo.

We use postgres COMMENT functionality to apply comments to all of our table columns.

There are no comments on this comment yet.