summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2013-04-12 22:52:06 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2013-05-28 15:51:12 +0200
commitb10c8f28497e390ede68334af66c0e9f7f35d335 (patch)
tree0ed44f90018364430940ee96a06eafe46ebabbab
parent6c015c147925d3e2f6cee6596c52c474d16fbc97 (diff)
downloadeurephia-b10c8f28497e390ede68334af66c0e9f7f35d335.tar.gz
eurephia-b10c8f28497e390ede68334af66c0e9f7f35d335.tar.xz
eurephia-b10c8f28497e390ede68334af66c0e9f7f35d335.zip
Added fieldmapping to the new 'plugins' table
This will enable the database plug-ins and eurephiadm to manipulate this table. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
-rw-r--r--database/eurephiadb_mapping.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/database/eurephiadb_mapping.h b/database/eurephiadb_mapping.h
index d96c038..fa9219e 100644
--- a/database/eurephiadb_mapping.h
+++ b/database/eurephiadb_mapping.h
@@ -264,12 +264,12 @@ static eDBfieldMap eTblMap_fwprofiles[] = {
* Unified eurephia field names for the 'plugins' table
*/
static eDBfieldMap eTblMap_plugins[] = {
- {TABLE_PLUGINS, NULL, FIELD_DESCR, ft_STRING , flt_EQ, "name", NULL, NULL},
- {TABLE_PLUGINS, NULL, FIELD_TYPE, ft_STRING , flt_EQ, "type", NULL, NULL},
- {TABLE_PLUGINS, NULL, FIELD_FILE, ft_STRING , flt_EQ, "dsofile", NULL, NULL},
- {TABLE_PLUGINS, NULL, FIELD_CONFIG, ft_STRING , flt_EQ, "config", NULL, NULL},
- {TABLE_PLUGINS, NULL, FIELD_ACTIVATED, ft_STRING , flt_EQ, "enabled", NULL, NULL},
- {TABLE_PLUGINS, NULL, FIELD_RECID, ft_INT , flt_EQ, "plgid", NULL, NULL},
+ {TABLE_PLUGINS, NULL, FIELD_DESCR, ft_STRING , flt_EQ, "name", NULL, NULL},
+ {TABLE_PLUGINS, NULL, FIELD_TYPE, ft_STRING , flt_EQ, "type", NULL, NULL},
+ {TABLE_PLUGINS, NULL, FIELD_FILE, ft_STRING , flt_EQ, "dsofile", NULL, NULL},
+ {TABLE_PLUGINS, NULL, FIELD_CONFIG, ft_STRING , flt_EQ, "config", NULL, NULL},
+ {TABLE_PLUGINS, NULL, FIELD_ACTIVATED, ft_STRING , flt_EQ, "enabled", NULL, NULL},
+ {TABLE_PLUGINS, NULL, FIELD_RECID, ft_INT , flt_EQ, "plugin_id", NULL, NULL},
{0, NULL, FIELD_NONE, ft_UNDEF, flt_NOTSET, NULL, NULL, NULL}
};