From fe56c187955dfb0355e7ffc9b3b55e19b4cbe107 Mon Sep 17 00:00:00 2001
From: Johan Berntsson
Date: Tue, 4 Mar 2008 07:54:35 +0000
Subject: Fixed SQL update error

---
 OpenSim/Framework/Data.MySQL/Resources/UpgradeRegionsTableToVersion2.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'OpenSim/Framework/Data.MySQL/Resources/UpgradeRegionsTableToVersion2.sql')

diff --git a/OpenSim/Framework/Data.MySQL/Resources/UpgradeRegionsTableToVersion2.sql b/OpenSim/Framework/Data.MySQL/Resources/UpgradeRegionsTableToVersion2.sql
index 5880954..034b755 100644
--- a/OpenSim/Framework/Data.MySQL/Resources/UpgradeRegionsTableToVersion2.sql
+++ b/OpenSim/Framework/Data.MySQL/Resources/UpgradeRegionsTableToVersion2.sql
@@ -1,3 +1,4 @@
 ALTER TABLE `regions` 
 	ADD COLUMN `originUUID` varchar(36),
 COMMENT='Rev. 2';
+UPDATE `regions` SET originUUID=uuid;
-- 
cgit v1.1

