mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
pgsql : fix estate store
This commit is contained in:
@@ -41,9 +41,7 @@ namespace OpenSim.Data.PGSQL
|
||||
/// </summary>
|
||||
public class PGSqlFramework
|
||||
{
|
||||
private static readonly log4net.ILog m_log =
|
||||
log4net.LogManager.GetLogger(
|
||||
System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
protected string m_connectionString;
|
||||
protected object m_dbLock = new object();
|
||||
|
||||
@@ -41,6 +41,16 @@ WITH (OIDS=FALSE);
|
||||
-- ----------------------------
|
||||
ALTER TABLE "public"."estate_map" ADD PRIMARY KEY ("RegionID") NOT DEFERRABLE INITIALLY IMMEDIATE;
|
||||
|
||||
-- ----------------------------
|
||||
-- SEQUENCE estate_settings_id
|
||||
-- ----------------------------
|
||||
CREATE SEQUENCE IF NOT EXISTS "public"."estate_settings_id"
|
||||
INCREMENT 100
|
||||
MINVALUE 1
|
||||
MAXVALUE 9223372036854775807
|
||||
START 100
|
||||
CACHE 1;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for estate_settings
|
||||
-- ----------------------------
|
||||
@@ -110,22 +120,6 @@ CREATE INDEX IF NOT EXISTS "ix_estateban" ON "public"."estateban" USING btree("
|
||||
|
||||
COMMIT;
|
||||
|
||||
:VERSION 13
|
||||
|
||||
BEGIN TRASACTION;
|
||||
|
||||
-- ----------------------------
|
||||
-- SEQUENCE estate_settings_id
|
||||
-- ----------------------------
|
||||
CREATE SEQUENCE IF NOT EXISTS "public"."estate_settings_id"
|
||||
INCREMENT 100
|
||||
MINVALUE 1
|
||||
MAXVALUE 9223372036854775807
|
||||
START 100
|
||||
CACHE 1;
|
||||
|
||||
COMMIT;
|
||||
|
||||
:VERSION 14
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user