diff options
Diffstat (limited to 'postgresql-controller.lua')
-rw-r--r-- | postgresql-controller.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/postgresql-controller.lua b/postgresql-controller.lua index 2a61370..2b375e8 100644 --- a/postgresql-controller.lua +++ b/postgresql-controller.lua @@ -28,4 +28,10 @@ function mymodule.expert(self) return self.handle_form(self, function() return self.model.getfiledetails(self.clientdata.filename) end, self.model.updatefiledetails, self.clientdata, "Save", "Edit Postgresql File", "File Saved") end +-- Use acf-db to allow editing of the database +dbcontrollerfunctions = require("dbcontrollerfunctions") +for n,f in pairs(dbcontrollerfunctions) do + mymodule[n] = f +end + return mymodule |