Fix: INF-254 ENUM type create failed while re-creating a pod 86/7586/1
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Wed, 19 Jan 2022 14:25:36 +0000 (22:25 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Wed, 19 Jan 2022 14:25:36 +0000 (22:25 +0800)
commit955e499773dcfd80e2b5497d3cb1b38c9ae294eb
treef93bf0c5452971c75f3f68da3af491ba1f71f6df
parent91c02b447f2035ffbb11891ece162242c8f5a44f
Fix: INF-254 ENUM type create failed while re-creating a pod

1. Stop using psql 'type' creation that maps the object to DB, replace to varchar

Issue-ID: INF-254
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
Change-Id: Ic841e08ed2186bab2c2f70fb274178aec81a9d4d
o2ims/adapter/clients/orm_stx.py
o2ims/adapter/orm.py