New Features: - USB Device checkout/check-in system with barcode scanning - displayusb.asp: List all USB devices with status - addusb.asp: Add new USB devices via barcode scan - checkout_usb.asp/savecheckout_usb.asp: Check out USB to SSO - checkin_usb.asp/savecheckin_usb.asp: Check in with wipe confirmation - usb_history.asp: Full checkout history with filters - api_usb.asp: JSON API for AJAX lookups - displayprofile.asp: SSO profile page showing user info and USB history - Date/time format changed to 12-hour (MM/DD/YYYY h:mm AM/PM) - SSO links in USB history now link to profile page via search Database: - New machinetypeid 44 for USB devices - New usb_checkouts table for tracking checkouts Cleanup: - Removed v2 folder (duplicate/old files) - Removed old debug/test files - Removed completed migration documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
664 B
SQL
16 lines
664 B
SQL
-- ============================================================================
|
|
-- FILE: add_iswinrm_column.sql
|
|
-- PURPOSE: Add iswinrm column to machines table for tracking WinRM status
|
|
-- DATE: 2025-12-05
|
|
--
|
|
-- USAGE: Run this on production database
|
|
-- mysql -u root -p shopdb < add_iswinrm_column.sql
|
|
-- ============================================================================
|
|
|
|
-- Add iswinrm column after isvnc
|
|
ALTER TABLE machines ADD COLUMN iswinrm BIT(1) NULL DEFAULT b'0' AFTER isvnc;
|
|
|
|
-- Verify the column was added
|
|
SELECT 'iswinrm column added successfully' AS status;
|
|
SHOW COLUMNS FROM machines WHERE Field IN ('isvnc', 'iswinrm');
|