𝓒𝓱𝓻𝓲𝓼𝓒𝓱𝓻𝓲𝓼 wrote the following post Sat, 05 Dec 2026 23:35:48 +0100
donΒ΄t wan to make an mistake

How to apply manually the DB updates 1270 and 1273 to a MariaDB in phpMyAdmin ?
Firefox_Screenshot_2026-12-05T22-21-42.822Z.png

just by entering the SQL command s

DROP INDEX workerq_uuid ON workerq
and
CREATE UNIQUE INDEX workerq_uuid ON workerq (workerq_uuid)
for
https://framagit.org/hubzilla/core/-/blob/master/Zotlabs/Update/_1270.php

and

DELETE FROM hubloc WHERE hubloc_id NOT IN (
           SELECT MAX(hubloc_id)
           FROM (SELECT * FROM hubloc) AS tmp
           GROUP BY hubloc_hash, hubloc_url)

and
          
          

ALTER TABLE hubloc
           ADD CONSTRAINT hubloc_hash_url
           UNIQUE (hubloc_hash, hubloc_url)

          
and
          
ALTER TABLE hubloc DROP INDEX hubloc_hash
for
https://framagit.org/hubzilla/core/-/blob/master/Zotlabs/Update/_1273.php
??
thanks for help