wulf-pulse/scripts/run-migration-008.sh
root 6eee14f8af Add comprehensive admin features and multi-system integration
- Add admin dashboard with sync controls and data browser
- Implement RMM, Auvik, and Addigy organization mappings
- Add chunked ticket sync with progress tracking
- Implement entity sync service with rate limiting
- Add analytics engine and performance optimizer
- Create data browser for all PSA entities
- Add navigation components and UI improvements
- Implement background processing and sync services
- Add comprehensive documentation and migration scripts
- Update configuration items with multi-system support
- Enhance contact management and purchase history
- Add issue type assignment and LLM analyzer
- Improve error handling and logging utilities
2025-11-19 14:18:16 -05:00

21 lines
609 B
Bash

#!/bin/bash
# Run migration 008 to relax tickets resource constraints
set -e
echo "Running migration 008: Relax tickets resource constraints..."
# Check if we're in Docker or local
if [ -f /.dockerenv ]; then
# Running inside Docker
psql "$DATABASE_URL" -f /app/migrations/008_relax_tickets_resource_constraints.sql
else
# Running locally
if [ -z "$DATABASE_URL" ]; then
echo "Error: DATABASE_URL environment variable not set"
exit 1
fi
psql "$DATABASE_URL" -f ./migrations/008_relax_tickets_resource_constraints.sql
fi
echo "Migration 008 completed successfully!"