mirror of
http://88.130.71.182:3000/BlitTech/contexta_be.git
synced 2026-06-12 23:23:21 +00:00
feat: add appointments, campaigns, admin, storage, tests and various updates
- Add new routers: admin, appointments, campaigns - Add storage service and logging config - Add migrations directory and test suite with pytest config - Add supabase_migration_features.sql - Update models, dependencies, config, and existing routers - Remove whatsapp_service (deleted) - Update pyproject.toml and uv.lock dependencies Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
8
migrations/002_messages_confidence.sql
Normal file
8
migrations/002_messages_confidence.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
-- Migration 002: Add confidence_score and is_handoff to messages table
|
||||
-- Run this in Supabase SQL editor
|
||||
|
||||
ALTER TABLE messages ADD COLUMN IF NOT EXISTS confidence_score DECIMAL(5,4);
|
||||
ALTER TABLE messages ADD COLUMN IF NOT EXISTS is_handoff BOOLEAN DEFAULT FALSE;
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_messages_confidence
|
||||
ON messages(confidence_score) WHERE confidence_score IS NOT NULL;
|
||||
Reference in New Issue
Block a user