fc-common: consolidate database migrations; simplify

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia808d76241cec6e8760d87443bb0dc976a6a6964
This commit is contained in:
raf 2026-02-18 18:29:14 +03:00
commit e7425e0abf
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
22 changed files with 656 additions and 671 deletions

View file

@ -4,8 +4,9 @@ This directory contains SQL migrations for the FC database.
## Migration Files
- `001_initial_schema.sql`: Creates the core database schema including projects,
jobsets, evaluations, builds, and related tables.
- `0001_schema.sql`: Full schema, all tables, indexes, triggers, and views.
- `0002_example.sql`: Example stub for the next migration when we make a stable
release.
## Running Migrations
@ -22,5 +23,3 @@ fc-migrate validate postgresql://user:password@localhost/fc_ci
# Create a new migration
fc-migrate create migration_name
```
TODO: add or generate schema overviews