botserver/migrations/2025-01-20-000001_multi_agent_bots/down.sql
Rodrigo Rodriguez (Pragmatismo) 48c1ae0b51 , dt.month, dt.hour, dt.is_weekend, etc.)
- Add startup wizard module for first-run configuration
- Add white-label branding system with .product file support
- Add bot manager for lifecycle, MinIO buckets, and templates
- Add version tracking registry for component updates
- Create comparison doc: BASIC vs n8n/Zapier/Make/Copilot
- Add WhatsApp-style sample dialogs to template documentation
- Add data traceability SVG diagram ```
2025-11-30 15:07:29 -03:00

15 lines
537 B
SQL

-- Rollback Multi-Agent Bots Migration
-- Drop triggers first
DROP TRIGGER IF EXISTS update_bots_updated_at ON bots;
DROP FUNCTION IF EXISTS update_updated_at_column();
-- Drop tables in reverse order of creation (respecting foreign key dependencies)
DROP TABLE IF EXISTS play_content;
DROP TABLE IF EXISTS hear_wait_states;
DROP TABLE IF EXISTS attachments;
DROP TABLE IF EXISTS conversation_branches;
DROP TABLE IF EXISTS bot_messages;
DROP TABLE IF EXISTS session_bots;
DROP TABLE IF EXISTS bot_triggers;
DROP TABLE IF EXISTS bots;