Files
xingrin/go-backend/cmd/server/migrations/000002_add_gin_indexes.down.sql
yyhuni ed80772e6f feat(frontend,backend): implement website management and i18n for bulk operations
- Add website service layer with CRUD operations and filtering support
- Implement website handler with complete API endpoints
- Add website repository with database operations and query optimization
- Create website DTO for API request/response serialization
- Implement CSV export functionality for asset data
- Add scope filtering package for dynamic query building with tests
- Create database migrations for schema initialization and GIN indexes
- Migrate bulk add dialog to use i18n translations instead of hardcoded strings
- Update all frontend hooks to support pagination and filtering parameters
- Refactor organization and target services with improved error handling
- Add seed command for database initialization with sample data
- Update frontend messages (en.json, zh.json) with bulk operation translations
- Improve API client with better error handling and request formatting
- Add database migration runner to backend initialization
- Update go.mod and go.sum with new dependencies
2026-01-12 22:10:08 +08:00

12 lines
481 B
SQL

-- Remove GIN indexes
DROP INDEX IF EXISTS idx_scheduled_scan_engine_ids_gin;
DROP INDEX IF EXISTS idx_scan_container_ids_gin;
DROP INDEX IF EXISTS idx_scan_engine_ids_gin;
DROP INDEX IF EXISTS idx_endpoint_snap_matched_gf_patterns_gin;
DROP INDEX IF EXISTS idx_endpoint_snap_tech_gin;
DROP INDEX IF EXISTS idx_website_snap_tech_gin;
DROP INDEX IF EXISTS idx_endpoint_matched_gf_patterns_gin;
DROP INDEX IF EXISTS idx_endpoint_tech_gin;
DROP INDEX IF EXISTS idx_website_tech_gin;