001_Presence.sql 678 B

12345678910111213141516171819
  1. BEGIN TRANSACTION
  2. CREATE TABLE [Presence] (
  3. [UserID] varchar(255) NOT NULL,
  4. [RegionID] uniqueidentifier NOT NULL,
  5. [SessionID] uniqueidentifier NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
  6. [SecureSessionID] uniqueidentifier NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
  7. [Online] char(5) NOT NULL DEFAULT 'false',
  8. [Login] char(16) NOT NULL DEFAULT '0',
  9. [Logout] char(16) NOT NULL DEFAULT '0',
  10. [Position] char(64) NOT NULL DEFAULT '<0,0,0>',
  11. [LookAt] char(64) NOT NULL DEFAULT '<0,0,0>',
  12. [HomeRegionID] uniqueidentifier NOT NULL,
  13. [HomePosition] CHAR(64) NOT NULL DEFAULT '<0,0,0>',
  14. [HomeLookAt] CHAR(64) NOT NULL DEFAULT '<0,0,0>',
  15. )
  16. ON [PRIMARY]
  17. COMMIT