mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Fernando Oliveira's Postgress SQL Server Data Connector as a single commit.
* 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.
This commit is contained in:
committed by
fernando
parent
2eade55471
commit
ff8a768258
26
OpenSim/Data/PGSQL/Resources/IM_Store.migrations
Normal file
26
OpenSim/Data/PGSQL/Resources/IM_Store.migrations
Normal file
@@ -0,0 +1,26 @@
|
||||
:VERSION 1 # --------------------------
|
||||
|
||||
BEGIN Transaction;
|
||||
|
||||
Create Sequence im_offiline_id increment by 1 start with 1;
|
||||
|
||||
CREATE TABLE im_offline (
|
||||
"ID" integer PRIMARY KEY NOT NULL DEFAULT nextval('im_offiline_id') ,
|
||||
"PrincipalID" char(36) NOT NULL default '',
|
||||
"Message" text NOT NULL,
|
||||
"TMStamp" timestamp NOT NULL default now()
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
|
||||
:VERSION 2 # --------------------------
|
||||
|
||||
BEGIN;
|
||||
|
||||
/*
|
||||
INSERT INTO `im_offline` SELECT * from `diva_im_offline`;
|
||||
DROP TABLE `diva_im_offline`;
|
||||
DELETE FROM `migrations` WHERE name='diva_im_Store';
|
||||
*/
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user