Unify backend resources and role bindings in clusters

This commit is contained in:
2026-11-30 18:24:24 +08:00
parent ac62c8a655
commit 9869a9966c
18 changed files with 469 additions and 227 deletions
+10
View File
@@ -74,6 +74,16 @@ pub struct ResolvedSql {
}
impl SqlCluster {
pub(crate) fn local(path: Address) -> Self {
Self {
driver: SqlDriver::Sqlite,
primary: path,
replicas: vec![],
tls: Tls::Disabled,
max_connections: 1,
}
}
pub(crate) fn resolve(
&self,
deployment: &str,