added additional functionality to the module manager
This commit is contained in:
@@ -48,8 +48,9 @@
|
||||
<connection-point name="srm_proxy" interface="com.silverwrist.dynamo.db.UserProxyManagement"/>
|
||||
</object>
|
||||
|
||||
<object name="module-manager" classname="com.silverwrist.dynamo.module.ModuleManager" priority="0">
|
||||
<object name="module-manager" classname="com.silverwrist.dynamo.module.ModuleManager" priority="2">
|
||||
<module-directory>${code.path}/modules</module-directory>
|
||||
<database connection="data" namespaces="nscache"/>
|
||||
</object>
|
||||
|
||||
<!-- Data-driven objects -->
|
||||
|
||||
@@ -339,6 +339,14 @@ CREATE TABLE ndx_locks (
|
||||
PRIMARY KEY (ndxid, name)
|
||||
);
|
||||
|
||||
# Table indicating which modules have been installed.
|
||||
CREATE TABLE modinstall (
|
||||
filename VARCHAR(255) BINARY NOT NULL PRIMARY KEY, # file name relative to module directory
|
||||
mod_nsid INT NOT NULL, # namespaceID of module name
|
||||
mod_name VARCHAR(255) BINARY NOT NULL, # module name within namespace
|
||||
UNIQUE INDEX by_name (mod_nsid, mod_name)
|
||||
);
|
||||
|
||||
############################ following this line are Venice-specific tables ############################
|
||||
|
||||
# The table which defines menus.
|
||||
|
||||
Reference in New Issue
Block a user