mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Cleaned up MySql migrations a bit more, got rid of all old-form migration files. Restored Presence table to its taboo-breaking form.
This commit is contained in:
19
OpenSim/Data/MySQL/Resources/GridUserStore.migrations
Normal file
19
OpenSim/Data/MySQL/Resources/GridUserStore.migrations
Normal file
@@ -0,0 +1,19 @@
|
||||
:VERSION 1 # --------------------------
|
||||
|
||||
BEGIN;
|
||||
|
||||
CREATE TABLE `GridUser` (
|
||||
`UserID` VARCHAR(255) NOT NULL,
|
||||
`HomeRegionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
|
||||
`HomePosition` CHAR(64) NOT NULL DEFAULT '<0,0,0>',
|
||||
`HomeLookAt` CHAR(64) NOT NULL DEFAULT '<0,0,0>',
|
||||
`LastRegionID` CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
|
||||
`LastPosition` CHAR(64) NOT NULL DEFAULT '<0,0,0>',
|
||||
`LastLookAt` CHAR(64) NOT NULL DEFAULT '<0,0,0>',
|
||||
`Online` CHAR(5) NOT NULL DEFAULT 'false',
|
||||
`Login` CHAR(16) NOT NULL DEFAULT '0',
|
||||
`Logout` CHAR(16) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`UserID`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user