aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/Resources/009_UserStore.sql
blob: b4cc00ce4dc817c165f2c506efdc059e9da0c797 (plain)
1
2
3
4
5
6
7
8
9
10
11
BEGIN;

update users
  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 '%-%';

update useragents
  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;