<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data SYSTEM "../../../lib/pkp/dtd/xmlData.dtd">

<!--
  * 2.4.0_preupdate_emaillog.xml
  *
  * Copyright (c) 2013-2016 Simon Fraser University Library
  * Copyright (c) 2003-2016 John Willinsky
  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
  *
  * 2.4.0 database updates XML file, run prior to schema sync.
  *
  -->

<data>
	<!-- Bug #6021: port logs to pkp-lib -->
	<sql>
		<!-- Reuse existing assoc_id column; see #8420 -->
		<query>UPDATE article_email_log SET assoc_id=article_id</query>
		<rename table="article_email_log" to="email_log" />
	</sql>
</data>
