summaryrefslogtreecommitdiffstats
path: root/db-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'db-controller.lua')
-rw-r--r--db-controller.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/db-controller.lua b/db-controller.lua
new file mode 100644
index 0000000..6aaa260
--- /dev/null
+++ b/db-controller.lua
@@ -0,0 +1,11 @@
+local mymodule = {}
+
+mymodule.default_action = "listdatabases"
+
+-- Use acf-db-lib to allow editing of the database
+dbcontrollerfunctions = require("dbcontrollerfunctions")
+for n,f in pairs(dbcontrollerfunctions) do
+ mymodule[n] = f
+end
+
+return mymodule