OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



New tables

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

New tables

Postby roberta_takenaka » Tue Oct 18, 2005 6:43 am

I have a question about creating tables at the installation.
We had to create other tables that complements the ojs tables.
Is it enough edit the dbscripts/xml/ojs_schema.xml file to do the installation, I mean, to create these tables? Or I need to do other procedures? What I have to do to create this tables automaticaly?
Thanks.
roberta_takenaka
 
Posts: 14
Joined: Mon Aug 15, 2005 8:28 am
Location: Brasil

Postby asmecher » Tue Oct 18, 2005 9:46 am

Hello Roberta,

Once the tables are added to ojs_schema.xml, you can trigger their creation by calling the upgrade.php tool. For example:
Code: Select all
php tools/upgrade.php upgrade

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby Guest » Tue Oct 18, 2005 10:14 am

Thanks, but see the situation:

I am making a package (a release) of the system with the changes I made.
So, I imagine I just need to edit the ojs_schema.xml, because the upgrade will be done, at the moment someone install the system, no matter the person select or not the option "Create new database". Is that correct?

OR I have to give him/her the instruction to execute

Code: Select all
php tools/upgrade.php upgrade
Guest
 

Postby asmecher » Wed Oct 19, 2005 12:43 pm

Hello,

That's correct; as long as they install the system or run the upgrade process, there's no need to run any additional commands.

If you have a moment, please post some information in the development forum about the changes you've made to OJS. We'd like to keep track of the sorts of modifications people are making so that we can 1) facilitate those types of changes in the forthcoming plugin infrastructure and 2) consider features for inclusion in future releases.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 1 guest