(&self, table_name: &str)
| 518 | #[async_trait] |
| 519 | impl Store for CompositeStorage { |
| 520 | async fn fetch_schema(&self, table_name: &str) -> Result<Option<Schema>> { |
| 521 | match table_name { |
| 522 | "jhistory" => Ok(Some(self.jhistory_schema())), |
| 523 | "codex_history" => Ok(Some(self.codex_history_alias_schema())), |
| 524 | "transcripts" => Ok(Some(self.transcripts_schema())), |
| 525 | "sessions" => Ok(Some(self.sessions_schema())), |
| 526 | "todos" => Ok(Some(self.todos_schema())), |
| 527 | _ => self.json_storage.fetch_schema(table_name).await, |
| 528 | } |
| 529 | } |
| 530 | |
| 531 | async fn fetch_all_schemas(&self) -> Result<Vec<Schema>> { |
| 532 | let mut schemas = self.json_storage.fetch_all_schemas().await?; |
nothing calls this directly
no test coverage detected