changed data types for "id" in other tables (than data) from smallint to integer, too
This commit is contained in:
parent
4482aea31a
commit
a359222005
3 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ use Volkszaehler\Util;
|
|||
abstract class Entity {
|
||||
/**
|
||||
* @Id
|
||||
* @Column(type="smallint", nullable=false)
|
||||
* @Column(type="integer", nullable=false)
|
||||
* @GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
protected $id;
|
||||
|
|
|
@ -46,7 +46,7 @@ use Volkszaehler\Model;
|
|||
class Property {
|
||||
/**
|
||||
* @Id
|
||||
* @Column(type="smallint", nullable=false)
|
||||
* @Column(type="integer", nullable=false)
|
||||
* @GeneratedValue(strategy="AUTO")
|
||||
*
|
||||
* @todo wait until DDC-117 is fixed (PKs on FKs)
|
||||
|
|
|
@ -38,7 +38,7 @@ use Volkszaehler\Util;
|
|||
class Token {
|
||||
/**
|
||||
* @Id
|
||||
* @Column(type="smallint", nullable=false)
|
||||
* @Column(type="integer", nullable=false)
|
||||
* @GeneratedValue(strategy="AUTO")
|
||||
*
|
||||
* @todo wait until DDC-117 is fixed (PKs on FKs)
|
||||
|
|
Loading…
Add table
Reference in a new issue