From 2ed207509b0df83d1aaf49919df5978f6f70f934 Mon Sep 17 00:00:00 2001
From: Melanie
Date: Mon, 28 Dec 2009 19:12:33 +0000
Subject: Add the second step of the friends migration to pull data from the
 old table into the new

---
 OpenSim/Data/MySQL/Resources/002_Friends.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 OpenSim/Data/MySQL/Resources/002_Friends.sql

(limited to 'OpenSim/Data/MySQL/Resources/002_Friends.sql')

diff --git a/OpenSim/Data/MySQL/Resources/002_Friends.sql b/OpenSim/Data/MySQL/Resources/002_Friends.sql
new file mode 100644
index 0000000..5ff6438
--- /dev/null
+++ b/OpenSim/Data/MySQL/Resources/002_Friends.sql
@@ -0,0 +1,5 @@
+BEGIN;
+
+INSERT INTO Friends (PrincipalID, FriendID, Flags) SELECT ownerID, friendID, friendPerms FROM userfriends;
+
+COMMIT;
-- 
cgit v1.1

