Skip to content

Commit

Permalink
*8264* Fixed upgrade and temp files transition for PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Jun 17, 2013
1 parent 66dcdf0 commit 1171efa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbscripts/xml/upgrade/2.4.0_preupdate_article_files.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<!-- Bug #6128: Change paper_files 'type' column to 'file_stage' -->
<sql>
<!-- First, change all strings to their integer equivalents -->
<query>DELETE FROM article_files WHERE type = 'temp'</query><!-- Bug #8264 -->
<query>UPDATE article_files SET type = 1 WHERE type = 'submission/original'</query><!-- ARTICLE_FILE_SUBMISSION -->
<query>UPDATE article_files SET type = 2 WHERE type = 'submission/review'</query><!-- ARTICLE_FILE_REVIEW -->
<query>UPDATE article_files SET type = 3 WHERE type = 'submission/editor'</query><!-- ARTICLE_FILE_EDITOR -->
Expand Down

0 comments on commit 1171efa

Please sign in to comment.