#!/bin/bash # Aplica uma migration no banco do sistema novo (rag_tigre, schema tigre). # Uso: rag/migrate_tigre.sh [arquivo.sql] (padrao: a 002) set -euo pipefail RAG_DIR="$(cd "$(dirname "$0")" && pwd)" "$RAG_DIR/migrate.sh" rag_tigre tigre \ "${1:-$RAG_DIR/migrations/002-tigre-search.sql}" echo echo "[rag] PROXIMO PASSO OBRIGATORIO: reindexar do zero." echo " rag/index_tigre.sh --full"