changed data types for "id" in other tables (than data) from smallint to integer, too

This commit is contained in:
Justin Otherguy 2010-12-09 10:11:42 +01:00
parent 4482aea31a
commit a359222005
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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)

View file

@ -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)