~bigbes/lethe

ref: 934cfa2872e9be876dbfc2e8b087a0759588d1c2 lethe/internal/platform/database/migrations.go -rw-r--r-- 509 bytes
934cfa28 — Eugene Blikh oidcstub: implement /authorize + /token auth-code+PKCE; inject window.__LETHE_CONFIG__ into SPA a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Package database hosts the SQLite-backed storage layer for lethe.
//
// All schema changes go through embedded migrations that golang-migrate
// applies on startup; this file owns the embed.FS only.
package database

import "embed"

// FS holds the SQL migration files. Phase 7 (ingest) and beyond add new
// migrations alongside 0001_init by dropping additional `NNNN_*.up.sql` /
// `.down.sql` pairs into the migrations directory; no code changes required.
//
//go:embed migrations/*.sql
var FS embed.FS