Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
update database file fields to handle larger files
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmason committed Oct 17, 2012
1 parent e5eae7f commit 8ee949d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions zanata-war/src/main/resources/db/changelogs/db.changelog-2.0.xml
Expand Up @@ -342,6 +342,20 @@
referencedColumnNames="id"/>
</changeSet>

<changeSet author="damason@redhat.com" id="10">
<comment>Change HRawDocument content to use larger blob field.</comment>
<modifyDataType tableName="HRawDocument" columnName="content" newDataType="longblob"/>
<!-- modifyDataType loses the not-null constraint, so it is reapplied -->
<addNotNullConstraint tableName="HRawDocument" columnName="content" columnDataType="longblob"/>
</changeSet>

<changeSet author="damason@redhat.com" id="11">
<comment>Change HDocumentUploadPart content to use larger blob field.</comment>
<modifyDataType tableName="HDocumentUploadPart" columnName="content" newDataType="longblob"/>
<!-- modifyDataType loses the not-null constraint, so it is reapplied -->
<addNotNullConstraint tableName="HDocumentUploadPart" columnName="content" columnDataType="longblob"/>
</changeSet>

<changeSet id="10" author="camunoz@redhat.com">
<comment>Create Content fields on HTextFlow table.</comment>
<addColumn tableName="HTextFlow">
Expand Down

0 comments on commit 8ee949d

Please sign in to comment.