closes #26 (float type for data table)
This commit is contained in:
parent
b60581d6b7
commit
edcf529d3d
1 changed files with 2 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue