HOME


Mini Shell 1.0
DIR: /home/dhnidqcz/journal.pragmaticsng.org/dbscripts__47455f6/xml/upgrade/
Upload File :
Current File : /home/dhnidqcz/journal.pragmaticsng.org/dbscripts__47455f6/xml/upgrade/3.1.0_preupdate_payments.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data SYSTEM "../../../lib/pkp/dtd/xmlData.dtd">

<!--
  * 3.1.0_preupdate_payments.xml
  *
  * Copyright (c) 2014-2021 Simon Fraser University
  * Copyright (c) 2003-2021 John Willinsky
  * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
  *
  * Database updates XML file (run before schema is reconciled).
  *
  -->
<data>
	<!-- Issue #1816: Abstract completed payments into library -->
	<sql><rename table="completed_payments" column="journal_id" to="context_id" /></sql>

	<!-- Use app-independent language in queued payments serialized data -->
	<sql><query>UPDATE queued_payments SET payment_data=REPLACE(payment_data,'journalId','contextId')</query></sql>
</data>