Skip to content

Commit

Permalink
Issue #36
Browse files Browse the repository at this point in the history
I fix issue #36 (purchase invoice item description too short) by
changing the type of column "description" to "longtext".
  • Loading branch information
dellermann committed Mar 4, 2014
1 parent d62b564 commit 92db5a5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
6 changes: 3 additions & 3 deletions application.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Grails Metadata file
#Tue Mar 04 18:34:10 CET 2014
app.buildDate=2014-03-04T18\:34\:10+0100
app.buildNumber=6054
#Tue Mar 04 18:58:02 CET 2014
app.buildDate=2014-03-04T18\:58\:02+0100
app.buildNumber=6055
app.buildProfile=development
app.grails.version=2.3.4.BUILD-SNAPSHOT
app.name=springcrm
Expand Down
35 changes: 35 additions & 0 deletions grails-app/migrations/bugfixes-002.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<!--
bugfixes-002.xml
Copyright (c) 2011-2014, Daniel Ellermann
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->


<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">

<!-- Table modifications -->

<changeSet author="d.ellermann@amc-world.de" id="20140304-1">
<modifyDataType tableName="purchase_invoice_item" columnName="description"
newDataType="longtext"/>
</changeSet>
</databaseChangeLog>
3 changes: 2 additions & 1 deletion grails-app/migrations/changelog.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* changelog.groovy
*
* Copyright (c) 2011-2013, Daniel Ellermann
* Copyright (c) 2011-2014, Daniel Ellermann
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -29,4 +29,5 @@ databaseChangeLog = {
include file: 'helpdesk.xml'
include file: 'helpdesk-address.xml'
include file: 'person-title.xml'
include file: 'bugfixes-002.xml'
}

0 comments on commit 92db5a5

Please sign in to comment.