File: /var/www/ojs/dbscripts/xml/upgrade/3.1.0_preupdate_notes.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data SYSTEM "../../../lib/pkp/dtd/xmlData.dtd">
<!--
* dbscripts/xml/upgrade/3.1.0_preupdate_notes.xml
*
* Copyright (c) 2013-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
-->
<data>
<!-- Bug #1932: submission notes file migration -->
<sql>
<query>
CREATE TABLE notes_tmp AS (SELECT note_id, file_id FROM notes)
</query>
</sql>
</data>