From 9a8f6c79c9eafca4289d6a2c961ae54d7e7b8d4f Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 28 Dec 2009 17:57:45 +0000 Subject: Forgot the migration file --- OpenSim/Data/MySQL/Resources/001_Presence.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 OpenSim/Data/MySQL/Resources/001_Presence.sql (limited to 'OpenSim/Data') diff --git a/OpenSim/Data/MySQL/Resources/001_Presence.sql b/OpenSim/Data/MySQL/Resources/001_Presence.sql new file mode 100644 index 0000000..b8abaf7 --- /dev/null +++ b/OpenSim/Data/MySQL/Resources/001_Presence.sql @@ -0,0 +1,15 @@ +BEGIN; + +CREATE TABLE `Presence` ( + `UserID` VARCHAR(255) NOT NULL, + `RegionID` CHAR(36) NOT NULL, + `SessionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', + `SecureSessionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', + `Online` CHAR(5) NOT NULL DEFAULT 'false', + `Login` CHAR(16) NOT NULL DEFAULT '0', + `Logout` CHAR(16) NOT NULL DEFAULT '0', + `Position` CHAR(64) NOT NULL DEFAULT '<0,0,0>', + `LookAt` CHAR(64) NOT NULL DEFAULT '<0,0,0>' +) ENGINE=InnoDB; + +COMMIT; -- cgit v1.1