mirror of
https://github.com/opensim/opensim.git
synced 2026-06-18 03:05:45 +08:00
* Added PostGreSQL support * Added MySQL/MySQLXGroupData.cs * PostgreSQL data access implementation * PostgreSQL dll binarie and RegionStore.migrations * Migrations Scripts from MSSQL to POSTGRES * Postgres SQL Type fixes * Postgres SQL Connection string * Data type issues * more fixes * tests and +tests * UUID x string - FIGHT! * Fixed PG types to internal csharp types * More data type fix (PostgreSQL fields are case sensitive) :( * more field case sensitive fixes * changed the migration files to be case sensitive for fields. * fixed fields case * finished converting, now search for hidden bugs. * some more fixes * bool type fixed * more case fixes; * creatorID case fixed * case fields fixed * fixed default now() for TMStamp fields with don't allow nulls. * fix case sensitve for Region name and Estate name * fixed case for names for search * fix class name Error * Bug fixed on select and migrations * Un-Reverting my change due to Postgres issue with the ILIKE function * Fixed some issued for Diva Distro * Fixes for integration with Diva Distro * Added System.Core to prebuild.xml for PG project * Configured to make DIff for Push to OpenSim Project * Diffs only to PostgreSQL mods.
31 lines
513 B
Plaintext
31 lines
513 B
Plaintext
:VERSION 1
|
|
|
|
BEGIN TRANSACTION;
|
|
|
|
CREATE TABLE Presence (
|
|
"UserID" varchar(255) NOT NULL,
|
|
"RegionID" uuid NOT NULL,
|
|
"SessionID" uuid NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
|
|
"SecureSessionID" uuid NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000'
|
|
);
|
|
|
|
|
|
COMMIT;
|
|
|
|
:VERSION 2
|
|
|
|
BEGIN TRANSACTION;
|
|
|
|
CREATE UNIQUE INDEX SessionID ON Presence("SessionID");
|
|
CREATE INDEX UserID ON Presence("UserID");
|
|
|
|
COMMIT;
|
|
|
|
:VERSION 2
|
|
|
|
BEGIN TRANSACTION;
|
|
|
|
ALTER TABLE Presence ADD "LastSeen" Timestamp;
|
|
|
|
COMMIT;
|