8713-testToMaster #3523

Merged
alexm merged 383 commits from 8713-testToMaster into master 2025-03-04 06:52:15 +00:00
1 changed files with 6 additions and 8 deletions
Showing only changes of commit 21d9369250 - Show all commits

View File

@ -10,14 +10,12 @@ ENGINE=InnoDB
DEFAULT CHARSET=utf8mb3 DEFAULT CHARSET=utf8mb3
COLLATE=utf8mb3_unicode_ci; COLLATE=utf8mb3_unicode_ci;
UPDATE vn.parkingCoordinates pc INSERT INTO vn.parkingCoordinates (parkingFk, x, y, z)
JOIN vn.parking p ON p.id = pc.parkingFk SELECT id, `column`, `row`, `floor`
SET pc.x = IFNULL(p.`column`, 0), FROM vn.parking
pc.y = IFNULL(p.`row`, 0), WHERE `column` IS NOT NULL
pc.z = IFNULL(p.`floor`, 0) OR `row` IS NOT NULL
WHERE p.`column` IS NOT NULL OR `floor` IS NOT NULL;
OR p.`row` IS NOT NULL
OR p.`floor` IS NOT NULL;
ALTER TABLE vn.parking ALTER TABLE vn.parking
DROP COLUMN `column`, DROP COLUMN `column`,