mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +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:
@@ -60,3 +60,12 @@ CREATE TABLE EstateGroups (
|
||||
PRIMARY KEY (EstateID,ArrayIndex)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rev. 1';
|
||||
|
||||
CREATE TABLE EstateBans (
|
||||
EstateID INT NOT NULL,
|
||||
ArrayIndex INT NOT NULL,
|
||||
BannedUserID VARCHAR(36) NOT NULL,
|
||||
BannedHostAddress VARCHAR(16) NOT NULL,
|
||||
BannedHostIPMask VARCHAR(16) NOT NULL,
|
||||
BannedHostNameMask VARCHAR(16) NOT NULL,
|
||||
PRIMARY KEY (EstateID,ArrayIndex)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rev. 1';
|
||||
|
||||
Reference in New Issue
Block a user