lms
lms copied to clipboard
bugfix: upgradedb path was not completed from 2006r
Motywacja:
root@dev-lms:/var/www/html/lms# grep 'customerassignments_customergroupid_key' * -R
lib/upgradedb/postgres.2021050701.php: ALTER TABLE customerassignments DROP CONSTRAINT customerassignments_customergroupid_key;
Lepiej byłoby użyć ResourceExists('customerassignments_customergroupid_key', ...)
, żeby wyznaczyć pod jaką nazwą figuruje ten constraint (bo może tak być, że jednak jest, ale pod inną nazwą).
Lepiej byłoby użyć
ResourceExists('customerassignments_customergroupid_key', ...)
, żeby wyznaczyć pod jaką nazwą figuruje ten constraint (bo może tak być, że jednak jest, ale pod inną nazwą).
Zrobione - proszę.