mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
* Applied a patch that: Added estate ban table to migration scripts and nhibernate mapping. Refactored property getters and setters for estate ban object to support NHibernate.
* Added estate ban table to migration scripts of all supported databases. * Added nhibernate mapping for EstateBans property of EstateSettings * Refactored property accessors for EstateBan object. * Added comments for EstateBan properties. * Ensured that NHibernate tests pass with NUnitGUI. * Ensured that nant test target passes. This fixes mantis #3210. Thank you, tlaukkan!
This commit is contained in:
@@ -59,4 +59,14 @@ CREATE TABLE EstateGroups (
|
||||
GroupID NVARCHAR(36) NOT NULL,
|
||||
ArrayIndex INT NOT NULL,
|
||||
PRIMARY KEY (EstateID,ArrayIndex)
|
||||
);
|
||||
|
||||
CREATE TABLE EstateBans (
|
||||
EstateID INT NOT NULL,
|
||||
ArrayIndex INT NOT NULL,
|
||||
BannedUserID NVARCHAR(36) NOT NULL,
|
||||
BannedHostAddress NVARCHAR(16) NOT NULL,
|
||||
BannedHostIPMask NVARCHAR(16) NOT NULL,
|
||||
BannedHostNameMask NVARCHAR(16) NOT NULL,
|
||||
PRIMARY KEY (EstateID,ArrayIndex)
|
||||
);
|
||||
Reference in New Issue
Block a user