MiniCTRM - Build Tutorial 514: Choosing the database: SQLite first, PostgreSQL later; migrations only
→ to begin · N for the speaker notes
On a phone: Next or a swipe left to begin, Notes for the words.
What you'll learn
SQLite behind the back end with a migration tool, a first migration that creates a settings table and a currency table, a repository and an endpoint that list the currencies, a test, and the path to PostgreSQL written down.
Tables, files and servers – What a database is, why one file first, and why its structure changes only by migration.
The choices, side by side – SQLite, PostgreSQL and SQL Server; the migration tool for your language; Claude's recommendation.
The first table, end to end – Migration 1, a repository, an endpoint and a test.
The path to PostgreSQL – What the move will take, written down, and the commit.
Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.
Welcome
Somewhere to keep the trades
1 / 12Tables, files and servers
What a database is, and why one file first
2 / 12Tables, files and servers
Migrations, never guessing
3 / 12The choices, side by side
The choices, side by side
4 / 12The choices, side by side
The migration tools
5 / 12The choices, side by side
Ask Claude for its recommendation
6 / 12The first table, end to end
The first migration
7 / 12The first table, end to end
A repository and an endpoint
8 / 12The path to PostgreSQL
The path to PostgreSQL, written down
9 / 12The path to PostgreSQL
Commit
10 / 12What you have now
How MiniCTRM did it
11 / 12What you have now
What you have now
12 / 12
You have finished lesson 514, Choosing the database: SQLite first, PostgreSQL later; migrations only.