Introduce constraints and name mapping to source plugin database.
- Using default values now instead of NULL to signal empty field because NULL values are considered distinct in the context of UNIQUE table constraints in sqlite - Introduced new table for mappings from sid, game, server and team to channel name i preparation for new functionality - Updated and expanded unit test
This commit is contained in:
@@ -57,7 +57,7 @@ class source(MumoModule):
|
||||
('teams', commaSeperatedStrings, ["Lobby", "Spectator", "Team one", "Team two", "Team three", "Team four"]),
|
||||
('restrict', x2bool, True),
|
||||
('serverregex', re.compile, re.compile("^\[[\w\d\-\(\):]{1,20}\]$")),
|
||||
('deleteifunused', x2bool, True)
|
||||
('deleteifunused', x2bool, True)
|
||||
)
|
||||
|
||||
default_config = {'source':(
|
||||
|
Reference in New Issue
Block a user