Omaha #4448 Changed integervalue column of ebxml.value to bigint

Former-commit-id: 7a7d4bdb43e7d72fa1c5adf060a95bd39e969725
This commit is contained in:
Benjamin Phillippe 2015-06-09 12:54:44 -05:00
parent 49b719e16f
commit b7f690d752
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,10 @@
#!/bin/bash
# DR #4448 - Separate ebxml registry code from Data Delivery
PSQL="/awips2/psql/bin/psql"
echo "INFO: Changing column type of integervalue in ebxml.value to bigint"
${PSQL} -U awips -d metadata -q -c "ALTER TABLE ebxml.value ALTER COLUMN integervalue TYPE bigint;"
echo "Done."

View file

@ -86,7 +86,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
@Cache(region = RegrepUtil.DB_CACHE_REGION, usage = CacheConcurrencyStrategy.TRANSACTIONAL)
public class IntegerValueType extends ValueType {
@Column
@Column(columnDefinition="bigint")
@XmlElement(name = "Value")
@DynamicSerializeElement
protected BigInteger integerValue;