aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/Resources/004_AssetStore.sql
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-09 19:23:19 +0000
committerJustin Clarke Casey2009-04-09 19:23:19 +0000
commit7f8552fe63df19913364d04b133adf5856eed11a (patch)
treeca311ccea59f223b1f011649c0da453ce63e7c69 /OpenSim/Data/SQLite/Resources/004_AssetStore.sql
parent* Change UUIDs in SQLite user db to dashed format to match representations el... (diff)
downloadopensim-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.sql7
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 @@
1BEGIN;
2
3update 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
7COMMIT;