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:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user