From 6d5007e732553f02a0d872eb5c8c92ccc0b6fbd9 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Mon, 11 Mar 2013 16:54:20 +0100 Subject: [PATCH] Set correct type for owner_id in DB model This was already fixed in the database migrations (see bug 1078854), but was still wrong in the model. Change-Id: I8c0302d295ac228b6911a6c55e841066a502bdb1 --- heat/db/sqlalchemy/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/db/sqlalchemy/models.py b/heat/db/sqlalchemy/models.py index 65e53746..3392d3c1 100644 --- a/heat/db/sqlalchemy/models.py +++ b/heat/db/sqlalchemy/models.py @@ -160,7 +160,7 @@ class Stack(BASE, HeatBase): Integer, ForeignKey('user_creds.id'), nullable=False) - owner_id = Column(Integer, nullable=True) + owner_id = Column(String, nullable=True) timeout = Column(Integer) disable_rollback = Column(Boolean) -- 2.45.2