fix: replace dev schema defaults with public

- schema.rs: Change DATABASE_SCHEMA default from 'dev' to 'public'
- rule2_ingest.rs, files.rs, tools.rs, scan.rs: Same schema default fix
- files.rs, watcher.rs, processing.rs: Change output_dev to output
- identities.rs: Change API schema parameter default from 'dev' to 'public'
- postgres_db.rs: Add face_settings column to SELECT query (fix ColumnIndexOutOfBounds panic)

This fixes worker not processing jobs due to missing dev schema.
This commit is contained in:
Accusys
2026-08-08 17:35:23 +08:00
parent 8dada662e8
commit 8d83d9f217
9 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -938,7 +938,7 @@ async fn get_file_stats(
}
// Text chunk stats (rule1 collection)
let schema = std::env::var("DATABASE_SCHEMA").unwrap_or_else(|_| "dev".to_string());
let schema = std::env::var("DATABASE_SCHEMA").unwrap_or_else(|_| "public".to_string());
let rule1_collection = if schema == "public" {
"momentry_rule1".to_string()
} else {