feat: add PostgreSQL schema isolation for playground environment

- Create schema.rs utility module with table_name() function
- Add schema prefix to all SQL queries in postgres_db.rs
- Support dev schema for playground, public for production
- Add DATABASE_SCHEMA, MONGODB_DATABASE, QDRANT_COLLECTION config
- Fix 40+ functions including videos, chunks, frames, vectors, etc.
- Update Cargo dependencies
This commit is contained in:
Warren
2026-03-31 10:30:33 +08:00
parent 95b44f1e55
commit 37d2b66c56
6 changed files with 1118 additions and 308 deletions

View File

@@ -1,6 +1,8 @@
use anyhow::Result;
use async_trait::async_trait;
pub mod schema;
use crate::core::chunk::Chunk;
#[derive(Debug, Clone)]