closes #26 (float type for data table)

This commit is contained in:
Steffen Vogel 2010-12-26 00:42:26 +01:00
parent b60581d6b7
commit edcf529d3d

View file

@ -34,12 +34,7 @@ use Volkszaehler\Model;
* @todo rename? Bsp: DataSample, Sample, Reading
*
* @Entity
* @Table(
* name="data",
* uniqueConstraints={
* @UniqueConstraint(name="unique_timestamp", columns={"timestamp", "channel_id"})
* }
* )
* @Table(name="data")
*/
class Data {
/**
@ -59,8 +54,7 @@ class Data {
protected $timestamp;
/**
* @Column(type="decimal", precision="5", scale="2")
* @todo change to float after DCC-67 has been closed
* @Column(type="float")
*/
protected $value;