mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* Change SQLite asset UUID to dashed format to be consistent
* 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
This commit is contained in:
7
OpenSim/Data/SQLite/Resources/004_AssetStore.sql
Normal file
7
OpenSim/Data/SQLite/Resources/004_AssetStore.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user