Remove emojis from all markdown docs, add consolidation plan

- Strip emojis from 47 markdown files across docs/, sql/, and root
- Add docs/DOCS_CONSOLIDATION_PLAN.md with plan to reduce 45 docs to 8
- Establish no-emoji rule for documentation going forward

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
cproudlock
2025-12-11 07:42:52 -05:00
parent 9fc3420716
commit e598f72616
42 changed files with 1105 additions and 937 deletions

View File

@@ -11,9 +11,9 @@
The backup file contains **Phase 1 schema** (pre-migration) with 63 tables, while the current dev database contains **Phase 2 schema** (post-migration) with 30 tables.
**Key Findings:**
- **4 tables have schema changes** (businessunits, controllertypes, machine_overrides, machines)
- **8 new Phase 2 tables** exist in dev but not in backup
- **41 legacy tables** exist in backup but not in dev (deprecated/views)
- **4 tables have schema changes** (businessunits, controllertypes, machine_overrides, machines)
- **8 new Phase 2 tables** exist in dev but not in backup
- **41 legacy tables** exist in backup but not in dev (deprecated/views)
---
@@ -23,7 +23,7 @@ The backup file contains **Phase 1 schema** (pre-migration) with 63 tables, whil
These tables exist in both files but have different column structures. They should be **dropped and recreated** from the backup file if you want to revert to the backup schema.
#### ⚠️ `machines` (CRITICAL - Most Changes)
#### `machines` (CRITICAL - Most Changes)
**Columns Removed in Dev (exist in backup):**
- `ipaddress1` - Removed (now in communications table)
@@ -46,7 +46,7 @@ These tables exist in both files but have different column structures. They shou
---
#### ⚠️ `businessunits`
#### `businessunits`
**Columns Added in Dev (not in backup):**
- `liaisonname` - Liaison contact name
@@ -59,7 +59,7 @@ These tables exist in both files but have different column structures. They shou
---
#### ⚠️ `controllertypes`
#### `controllertypes`
**Columns Added in Dev (not in backup):**
- `vendorid` - Foreign key to vendors
@@ -71,7 +71,7 @@ These tables exist in both files but have different column structures. They shou
---
#### ⚠️ `machine_overrides`
#### `machine_overrides`
**Issue:** Same columns but definition differences (likely data types or constraints changed)
@@ -166,39 +166,39 @@ All views with `vw_` prefix are query views, not base tables:
## Recommendation: What to Drop and Recreate
### ⚠️ CRITICAL WARNING
### CRITICAL WARNING
**DO NOT apply the backup file schema if you want to keep Phase 2 functionality!**
The backup file represents the **OLD Phase 1 schema** before the major PC migration work completed on Nov 17, 2025. Applying it would:
1. Lose all Phase 2 migration work (20+ days of development)
2. Break all PC pages (displaypcs.asp, displaypc.asp, editpc.asp, etc.)
3. Break network device display (network_map.asp, network_devices.asp)
4. Lose unified communications table
5. Lose machine relationships functionality
6. Lose compliance tracking
7. Lose warranty management
1. Lose all Phase 2 migration work (20+ days of development)
2. Break all PC pages (displaypcs.asp, displaypc.asp, editpc.asp, etc.)
3. Break network device display (network_map.asp, network_devices.asp)
4. Lose unified communications table
5. Lose machine relationships functionality
6. Lose compliance tracking
7. Lose warranty management
### If You Must Revert to Backup Schema
**Tables to DROP and recreate from backup:**
1. `machines` - DROP and recreate (loses Phase 2 columns)
2. `businessunits` - DROP and recreate (loses liaison/facility fields)
3. `controllertypes` - DROP and recreate (loses enhanced metadata)
4. `machine_overrides` - DROP and recreate (definition changes)
1. `machines` - DROP and recreate (loses Phase 2 columns)
2. `businessunits` - DROP and recreate (loses liaison/facility fields)
3. `controllertypes` - DROP and recreate (loses enhanced metadata)
4. `machine_overrides` - DROP and recreate (definition changes)
**Tables to DROP from dev (Phase 2 tables):**
5. `communications` - DROP (then recreate from backup if needed)
6. `comstypes` - DROP
7. `compliance` - DROP
8. `compliancescans` - DROP
9. `machinerelationships` - DROP
10. `relationshiptypes` - DROP
11. `machinestatus` - DROP (will recreate `pcstatus` from backup)
12. `warranties` - DROP
5. `communications` - DROP (then recreate from backup if needed)
6. `comstypes` - DROP
7. `compliance` - DROP
8. `compliancescans` - DROP
9. `machinerelationships` - DROP
10. `relationshiptypes` - DROP
11. `machinestatus` - DROP (will recreate `pcstatus` from backup)
12. `warranties` - DROP
**Tables to ADD from backup (legacy tables):**
@@ -274,11 +274,11 @@ If you absolutely must revert to Phase 1 schema:
**The backup file (database-backup-11-20-25-eod-with-drop.sql) is from BEFORE Phase 2 migration.**
Your current dev database has the **Phase 2 schema** with significant improvements:
- Unified machines table for all infrastructure
- Consolidated communications table
- Machine relationships tracking
- Compliance management
- Warranty tracking
- Unified machines table for all infrastructure
- Consolidated communications table
- Machine relationships tracking
- Compliance management
- Warranty tracking
**Recommendation:** Do NOT apply the backup file schema. Keep your current Phase 2 dev schema.
@@ -288,4 +288,4 @@ If production needs updating, use your current dev schema as the source, not the
**Generated:** 2025-11-20 10:56
**Analyst:** Claude Code
**Status:** Analysis Complete
**Status:** Analysis Complete