Execute naming convention fix on dev - tables renamed, ASP updated
Database changes applied: - machine_overrides -> machineoverrides - pc_comm_config -> commconfig - pc_dnc_config -> dncconfig - pc_dualpath_assignments -> dualpathassignments - pc_network_interfaces -> networkinterfaces - usb_checkouts -> usbcheckouts ASP files updated (10 files): - api.asp, api_usb.asp - displaypc.asp, displaysubnet.asp, displaymachine.asp - displayusb.asp, displayprofile.asp - usb_history.asp, savecheckin_usb.asp, savecheckout_usb.asp 9 views recreated with new table references. Tested and verified working on dev environment. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
' Verify the checkout record exists and is still open
|
||||
Dim checkSQL, cmdCheck, rsCheck
|
||||
checkSQL = "SELECT uc.checkoutid, uc.machineid, uc.sso, m.serialnumber, m.alias " & _
|
||||
"FROM usb_checkouts uc " & _
|
||||
"FROM usbcheckouts uc " & _
|
||||
"JOIN machines m ON uc.machineid = m.machineid " & _
|
||||
"WHERE uc.checkoutid = ? AND uc.checkin_time IS NULL"
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
' Update checkout record with check-in info
|
||||
Dim updateSQL, cmdUpdate
|
||||
updateSQL = "UPDATE usb_checkouts SET checkin_time = NOW(), was_wiped = ?, checkin_notes = ? WHERE checkoutid = ?"
|
||||
updateSQL = "UPDATE usbcheckouts SET checkin_time = NOW(), was_wiped = ?, checkin_notes = ? WHERE checkoutid = ?"
|
||||
|
||||
Set cmdUpdate = Server.CreateObject("ADODB.Command")
|
||||
cmdUpdate.ActiveConnection = objConn
|
||||
|
||||
Reference in New Issue
Block a user