mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
* Remaining inconsistent uuids (non dashed) are in region store for sqlite and mysql * Migration of these will happen at a later date, unless someone else wants to do it
8 lines
208 B
PL/PgSQL
8 lines
208 B
PL/PgSQL
BEGIN;
|
|
|
|
update assets
|
|
set UUID = substr(UUID, 1, 8) || "-" || substr(UUID, 9, 4) || "-" || substr(UUID, 13, 4) || "-" || substr(UUID, 17, 4) || "-" || substr(UUID, 21)
|
|
where UUID not like '%-%';
|
|
|
|
COMMIT;
|