From 796bdfd746c77bb1650e9c56ce931a0d5cb9ad5c Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 28 Sep 2012 15:14:47 -0400 Subject: [PATCH] dont created columns for fields that are marked as 'joined' --- PLC/Storage/AlchemyObject.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Storage/AlchemyObject.py b/PLC/Storage/AlchemyObject.py index f96b2f61..33ec0be8 100644 --- a/PLC/Storage/AlchemyObject.py +++ b/PLC/Storage/AlchemyObject.py @@ -34,8 +34,8 @@ class AlchemyObj(Record): table = Table(self.tablename, metadata) for field in self.fields: param = self.fields[field] - # skip read only params - if param.ro: + # skip params joined from other tables + if param.joined: continue type = String if param.type == int: -- 2.47.0