From e121092323ad2b3e0966da4f12b1636458715efb Mon Sep 17 00:00:00 2001
From: David Sommerseth <dazo@users.sourceforge.net>
Date: Mon, 4 Mar 2013 11:57:32 +0100
Subject: sqlite: Modified eDBget_plugins() to support the new interface for
 plug-in init

This is needed to provide config data to a configured plug-in when it is loaded
and initialised.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
---
 database/sqlite/sql-schema-delta-2.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'database/sqlite/sql-schema-delta-2.sql')

diff --git a/database/sqlite/sql-schema-delta-2.sql b/database/sqlite/sql-schema-delta-2.sql
index f767a5d..b21899d 100644
--- a/database/sqlite/sql-schema-delta-2.sql
+++ b/database/sqlite/sql-schema-delta-2.sql
@@ -28,6 +28,7 @@ CREATE TABLE eurephia_plugins (
        plgname        varchar(32) NOT NULL, -- short name of the plug-in module
        plgtype        varchar(16) NOT NULL, -- plug-in type (auth, firewall, etc)
        plgdsofile     text        NOT NULL, -- full path to the plug-in DSO file
+       plgconfig      text        ,         -- Optional config data for the plug-in
        plgenabled     boolean     NOT NULL, -- Enable/disable the plug-in
        plgid          integer     PRIMARY KEY AUTOINCREMENT
 );
-- 
cgit 

