up
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
-- The UDP auto-log path was filling the non-standard `rig` and `ant`
|
||||
-- columns (intended for the contacted station's rig/antenna, rarely
|
||||
-- used) instead of `my_rig` / `my_antenna` (the official ADIF MY_RIG /
|
||||
-- MY_ANTENNA fields). Move any data that's already there to the right
|
||||
-- column when the standard one is empty — then clear the non-standard
|
||||
-- fields so the QSOs match what should have been logged.
|
||||
|
||||
UPDATE qso
|
||||
SET my_rig = rig
|
||||
WHERE (my_rig IS NULL OR my_rig = '')
|
||||
AND rig IS NOT NULL AND rig != '';
|
||||
|
||||
UPDATE qso
|
||||
SET my_antenna = ant
|
||||
WHERE (my_antenna IS NULL OR my_antenna = '')
|
||||
AND ant IS NOT NULL AND ant != '';
|
||||
|
||||
UPDATE qso SET rig = '' WHERE rig IS NOT NULL AND rig != '';
|
||||
UPDATE qso SET ant = '' WHERE ant IS NOT NULL AND ant != '';
|
||||
Reference in New Issue
Block a user