tvl-depot/web
Aspen Smith a1a29f7c0b feat(web/panettone): Add a system for database migrations
Add a system for writing, running, and tracking database
migrations (changes to the database schema) over time, inspired by but
significantly simpler than postmodern-passenger-pigeon.

Migrations can be generated by
running (PANETTONE.MODEL:GENERATE-MIGRATION "name"), and are numerically
ordered lisp files that define (at least) a function called UP, which
runs the migration. The migrations that have been run against the
database are tracked in the `migrations` table, and when the
`(PANETTONE.MODEL:MIGRATE)` function is called (as it is on startup),
all migrations that have not yet been run are run within a transaction.

This includes one migration `1-init-schema.lisp`, which migrates the
database (idempotently) to the current state of the schema.

Change-Id: Id243a47763abea649784b12f25a6d05c2267381c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11253
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2024-03-31 19:22:05 +00:00
..
atom-feed chore(3p/sources): Bump channels & overlays 2022-09-28 08:02:31 +00:00
atward chore(web/atward): bump cargo dependencies 2023-11-12 22:47:09 +00:00
blog feat(web/blog): add option to disable tagfilter per-post 2023-09-08 13:51:26 +00:00
bubblegum feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
cgit-tvl refactor(web/cgit-tvl): Move cgit config back out of module 2022-06-27 14:15:07 +00:00
converse chore(web/converse): bump all dependencies within bounds 2022-12-02 14:27:30 +00:00
panettone feat(web/panettone): Add a system for database migrations 2024-03-31 19:22:05 +00:00
pwcrypt chore(3p/sources): bump channels & overlays (2024-02-16) 2024-02-16 11:45:15 +00:00
static refactor(tazjin/homepage): long overdue entry list rework 2023-06-15 23:26:57 +00:00
todolist chore(3p/sources): Bump channels & overlays 2022-09-28 08:02:31 +00:00
tvixbolt feat(tvix/eval): implement builtins.hashString 2024-02-23 16:04:35 +00:00
tvl chore: update links to tvixbolt 2024-02-24 10:17:56 +00:00
volgasprint feat(web/volgasprint): add sprint logo(s) 2024-03-05 10:26:58 +00:00
inbox.nix feat(web/inbox): add landing page for inbox.tvl.su 2022-12-28 08:17:45 +00:00