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
This commit is contained in:
@@ -39,8 +39,6 @@ hmac = "0.12"
|
||||
filetime = "0.2"
|
||||
base64 = "0.22"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio-postgres = "0.7"
|
||||
postgres = "0.19"
|
||||
russh = "0.61.2"
|
||||
russh-keys = "0.50.0-beta.7"
|
||||
russh-sftp = "2.3.0"
|
||||
|
||||
Reference in New Issue
Block a user