Moderators: jmacgreg, michael, John, vgabler
mysql> UPDATE subscriptions SET date_end = '2013-12-31' WHERE date_end <= '2012-12-31';michael wrote:Hi ejsboregas,
There's currently no way of doing this in OJS other than via the 'Renew' link for each subscription record.
If you have direct access to your database, you can manually batch-update all subscriptions records via the following example (to be safe, backup your database before making any changes):
- Code: Select all
mysql> UPDATE subscriptions SET date_end = '2013-12-31' WHERE date_end <= '2012-12-31';
The above would set the end date to Dec 31, 2013 for all subscriptions (individual and institutional) that expire on or before Dec 31, 2012.
Cheers,
Michael
Return to OJS Editorial Support and Discussion
Users browsing this forum: No registered users and 2 guests