Fix database schema documentation to match actual tables
- Fix table names: pc_comm_config → commconfig, pc_dnc_config → dncconfig - Fix column name: communications.gateway → defaultgateway - Clarify printers uses 'ipaddress' while communications uses 'address' - Update CREATE TABLE statements to match actual schema - Add warranties table to QUICK_REFERENCE.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -123,9 +123,11 @@ docker exec -it dev-mysql mysql -u root -prootpassword shopdb
|
||||
- Strings are 1-indexed, not 0-indexed
|
||||
|
||||
### Column Name Gotchas
|
||||
- `address` not `ipaddress` in communications table
|
||||
- `address` not `ipaddress` in communications table (but printers uses `ipaddress`)
|
||||
- `defaultgateway` not `gateway` in communications table
|
||||
- `machinenotes` not `notes` in machines table
|
||||
- `machineid` not `pcid` for PCs in machines table
|
||||
- `commconfig` and `dncconfig` tables (not pc_comm_config, pc_dnc_config)
|
||||
|
||||
### PC Identification
|
||||
PCs are in the machines table, identified by:
|
||||
|
||||
Reference in New Issue
Block a user