Files
markbase/config
Warren 0802a47a5f
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled
Remove PostgreSQL support: pure SQLite architecture
BREAKING CHANGE: Remove all PostgreSQL functionality

Changes:
- Remove dependencies: tokio-postgres, postgres from Cargo.toml
- Delete files: pg_client.rs (330 lines), sync.rs (370 lines), provider/pg.rs (300 lines)
- Remove modules from lib.rs: pg_client, sync
- Remove pg module from provider/mod.rs
- Remove PostgreSQL sync code from server.rs (lines 126-165)
- Remove auth_db field and with_sync() from auth.rs
- Simplify SSH server to use SqliteProvider only
- Convert sync API endpoints to return 410 Gone with error message
- Remove [postgresql] config section from markbase.toml

Rationale:
- Simplify architecture by using SQLite exclusively
- Remove complexity of PostgreSQL synchronization
- Reduce dependencies and maintenance burden
- SQLite is sufficient for MarkBase use case

Code removed: ~1000 lines
Files deleted: 3
Files modified: 8
2026-10-24 19:47:10 +08:00
..