diff options
author | Justin Clarke Casey | 2009-04-09 19:23:19 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-09 19:23:19 +0000 |
commit | 7f8552fe63df19913364d04b133adf5856eed11a (patch) | |
tree | ca311ccea59f223b1f011649c0da453ce63e7c69 /OpenSim/Data/SQLite/Resources/004_AssetStore.sql | |
parent | * Change UUIDs in SQLite user db to dashed format to match representations el... (diff) | |
download | opensim-SC-7f8552fe63df19913364d04b133adf5856eed11a.zip opensim-SC-7f8552fe63df19913364d04b133adf5856eed11a.tar.gz opensim-SC-7f8552fe63df19913364d04b133adf5856eed11a.tar.bz2 opensim-SC-7f8552fe63df19913364d04b133adf5856eed11a.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Data/SQLite/Resources/004_AssetStore.sql')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/004_AssetStore.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/004_AssetStore.sql b/OpenSim/Data/SQLite/Resources/004_AssetStore.sql new file mode 100644 index 0000000..721f2b5 --- /dev/null +++ b/OpenSim/Data/SQLite/Resources/004_AssetStore.sql | |||
@@ -0,0 +1,7 @@ | |||
1 | BEGIN; | ||
2 | |||
3 | update assets | ||
4 | set UUID = substr(UUID, 1, 8) || "-" || substr(UUID, 9, 4) || "-" || substr(UUID, 13, 4) || "-" || substr(UUID, 17, 4) || "-" || substr(UUID, 21) | ||
5 | where UUID not like '%-%'; | ||
6 | |||
7 | COMMIT; | ||