Commit graph

5 commits

Author SHA1 Message Date
ad94316893
chore: update workspace deps
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ic74d4e8362fa66cd65cce0493a2ed1236a6a6964
2026-02-02 01:49:36 +03:00
b169bad512
chore: bump deps; declare workspace members
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib6499a53a60e591180cddd1a1126d4526a6a6964
2026-02-02 01:15:09 +03:00
0e6d249e0f
common: initial database handling
Can be configured from the config file, and also using environment
options.

```toml
[database]
url = "postgresql://fc_ci:password@localhost/fc_ci"
max_connections = 20
min_connections = 5
connect_timeout = 30
idle_timeout = 600
max_lifetime = 1800
```

We'll want to support SQlite in the future, and better secret handling
for database credentials. For now, this is workable.

---

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I36b4c1306511052a2748ca9d5d3429366a6a6964
2026-02-02 01:15:01 +03:00
a4c3cd1517
meta: add database migrations; set up migration CLI
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0cbc9798243134d36f788099ecc3ee5a6a6a6964
2026-02-02 01:15:00 +03:00
6203ea7f52
initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I79a875e75937ff6b3739ca36bfb0b2836a6a6964
2026-02-02 01:14:56 +03:00