ajnyga / funding

Funding plugin integrates Crossref Funder registry to OJS3 and OMP3
GNU General Public License v3.0
6 stars 17 forks source link

install the DB schema with plugin installation #2

Closed bozana closed 7 years ago

bozana commented 7 years ago

Here just a few fixes I had to made to install and test the plugin. With the function "getInstallSchemaFile", the DB table will be created when the plugin is installed i.e. when doing: php tools/upgrade.php upgrade

ajnyga commented 7 years ago

Thanks for cleaning up and the db function. I have that in my navigation plugin, but I recall that even then there was some problems with the creation of the tables. I mean it works if I run the OJS installation script but not if I just enable a new plugin.