diff options
author | Melanie | 2009-12-28 17:57:45 +0000 |
---|---|---|
committer | Melanie | 2009-12-28 17:57:45 +0000 |
commit | 9a8f6c79c9eafca4289d6a2c961ae54d7e7b8d4f (patch) | |
tree | d13a0043872baf8d9d6086f3b7752ff8304ce245 | |
parent | Database and presence changes. Untested (diff) | |
download | opensim-SC_OLD-9a8f6c79c9eafca4289d6a2c961ae54d7e7b8d4f.zip opensim-SC_OLD-9a8f6c79c9eafca4289d6a2c961ae54d7e7b8d4f.tar.gz opensim-SC_OLD-9a8f6c79c9eafca4289d6a2c961ae54d7e7b8d4f.tar.bz2 opensim-SC_OLD-9a8f6c79c9eafca4289d6a2c961ae54d7e7b8d4f.tar.xz |
Forgot the migration file
-rw-r--r-- | OpenSim/Data/MySQL/Resources/001_Presence.sql | 15 |
1 files changed, 15 insertions, 0 deletions
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 @@ | |||
1 | BEGIN; | ||
2 | |||
3 | CREATE TABLE `Presence` ( | ||
4 | `UserID` VARCHAR(255) NOT NULL, | ||
5 | `RegionID` CHAR(36) NOT NULL, | ||
6 | `SessionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', | ||
7 | `SecureSessionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', | ||
8 | `Online` CHAR(5) NOT NULL DEFAULT 'false', | ||
9 | `Login` CHAR(16) NOT NULL DEFAULT '0', | ||
10 | `Logout` CHAR(16) NOT NULL DEFAULT '0', | ||
11 | `Position` CHAR(64) NOT NULL DEFAULT '<0,0,0>', | ||
12 | `LookAt` CHAR(64) NOT NULL DEFAULT '<0,0,0>' | ||
13 | ) ENGINE=InnoDB; | ||
14 | |||
15 | COMMIT; | ||