diff options
| author | xengineering <me@xengineering.eu> | 2026-05-31 18:13:15 +0200 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-05-31 20:48:51 +0200 |
| commit | 4cb6a5952f341741ef2728fb39acb7f19de61ba9 (patch) | |
| tree | 201d7a63b504c3aa815422467d8ee6ddd5a5d3ea /vendor/golang.org/x/crypto/bcrypt | |
| parent | 6cdf8bb597443be880cd5a9cb6f3ac953749811a (diff) | |
| download | finserv-4cb6a5952f341741ef2728fb39acb7f19de61ba9.tar finserv-4cb6a5952f341741ef2728fb39acb7f19de61ba9.tar.zst finserv-4cb6a5952f341741ef2728fb39acb7f19de61ba9.zip | |
Add migration reading
This prepares the infrastructure to place migration SQL code in the
source repository with paths formatted as `sql/migrations/%04d.sqlite3`.
The numbers need to be counting up from 1.
They are embedded with Go's embed package and are parsed into a slice of
strings where the migration number minus one is the slice index and the
value is the migrations file as string.
This makes handling of migrations in code as easy as possible.
This commit adds also tests for this functionality.
Diffstat (limited to 'vendor/golang.org/x/crypto/bcrypt')
0 files changed, 0 insertions, 0 deletions
