From a3592220053d2c3fc035064b39fd8b0db5a3f828 Mon Sep 17 00:00:00 2001 From: Justin Otherguy Date: Thu, 9 Dec 2010 10:11:42 +0100 Subject: [PATCH] changed data types for "id" in other tables (than data) from smallint to integer, too --- backend/lib/Model/Entity.php | 2 +- backend/lib/Model/Property.php | 2 +- backend/lib/Model/Token.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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)