nxtgauge-backend-rust/crates/db/migrations/20260614233620_ai_plans_and_limits.down.sql
Ashwin Kumar Sivakumar c85e6af22e feat(ai): complete AI plans/credits implementation and build tooling
- Add AI plans, credits, model routing, LiteLLM client, and orchestrator services
- Add AI management endpoints, auto-apply/auto-request handlers, and log endpoints
- Add cron jobs for daily action reset and monthly credit reset
- Add AI credit purchase flow in payments service
- Add ai_credit_packages migration with seed data
- Update Dockerfile build tooling across services
2026-06-15 06:15:49 +05:30

9 lines
371 B
SQL

DROP TABLE IF EXISTS ai_auto_request_logs;
DROP TABLE IF EXISTS ai_auto_request_settings;
DROP TABLE IF EXISTS ai_auto_apply_logs;
DROP TABLE IF EXISTS ai_auto_apply_settings;
DROP TABLE IF EXISTS ai_credit_transactions;
DROP TABLE IF EXISTS ai_usage_logs;
DROP TABLE IF EXISTS ai_feature_costs;
DROP TABLE IF EXISTS user_ai_subscriptions;
DROP TABLE IF EXISTS ai_plans;