MERCHANT CATEGORIES FIX:
- Fixed duplicate category_code '7995' (Gambling vs Online Gambling)
- Changed Online Gambling code from '7995' to '7996'
- Fixed duplicate 'Direct Marketing' names to be unique
- Changed to 'Direct Marketing Inbound' and 'Direct Marketing Outbound'
- This was causing UNIQUE constraint violation preventing merchant_categories from loading
FRAUD TYPES QUERY FIX:
- Fixed column names in verification query
- Changed from fraud_type_code to fraud_code
- Changed from fraud_type_name to fraud_name
- Matches actual table schema in 01-create-tables.sql
IMPACT:
- Merchant categories will now load correctly (33 categories)
- Fraud types verification query will work without errors
- Setup script will complete all 5 verification queries successfully
- Docker setup with PostgreSQL 16 and DB-UI web interface
- Comprehensive 20+ table schema with fraud detection patterns
- Idempotent shell scripts for data generation (no Python dependency)
- Realistic geographic data (100 US cities, 210 world cities)
- 5M+ transactions with embedded fraud patterns (velocity, geographic, structuring, etc.)
- Progressive SQL exercises from beginner to advanced fraud detection
- Complete documentation and quick start guide
- Setup and verification scripts