* 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:
Justin Clarke Casey
2009-04-09 19:23:19 +00:00
parent 67333d48fc
commit 7f8552fe63
2 changed files with 13 additions and 6 deletions

View 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;