diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-11-03 20:14:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-11-03 20:14:20 +0000 |
commit | 89d58217d2bddcad1aa43b8f993fec2c7e8193f0 (patch) | |
tree | 17c4222005d7787cab0c63a9fa14b828d3fdc936 /postgresql-controller.lua | |
parent | 837cb215ed10119d8bd7c48e0df1da3493ae4b0f (diff) | |
download | acf-postgresql-89d58217d2bddcad1aa43b8f993fec2c7e8193f0.tar.bz2 acf-postgresql-89d58217d2bddcad1aa43b8f993fec2c7e8193f0.tar.xz |
Add ability to view/modify databases using acf-db-lib
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 |