diff --git a/backend/lib/Model/Entity.php b/backend/lib/Model/Entity.php index c868160..46084c7 100644 --- a/backend/lib/Model/Entity.php +++ b/backend/lib/Model/Entity.php @@ -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; diff --git a/backend/lib/Model/Property.php b/backend/lib/Model/Property.php index f9681fb..9c0391b 100644 --- a/backend/lib/Model/Property.php +++ b/backend/lib/Model/Property.php @@ -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) diff --git a/backend/lib/Model/Token.php b/backend/lib/Model/Token.php index ae8b560..2d443a5 100644 --- a/backend/lib/Model/Token.php +++ b/backend/lib/Model/Token.php @@ -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)