Stress Postgresql Yaml uses database name and not model column name
STRESSBIT: attributes: - label: ' description*' name: description search: true sort: true - name: bit - name: bit(1) - name: bit(2) - name: bit(3) - name: bit(4) class STRESSBIT(SAFRSBase, Base): tablename = 'STRESS_BIT' _s_collection_name = 'STRESSBIT' # type: ignore bind_key = 'None'
id = Column(Integer, primary_key=True)
description = Column(String(100))
bit = Column(BIT(1))
bit_1_ = Column('bit(1)', BIT(1))
bit_2_ = Column('bit(2)', BIT(2))
bit_3_ = Column('bit(3)', BIT(3))
bit_4_ = Column('bit(4)', BIT(4))
bit_5_ = Column('bit(5)', BIT(5))
bit_6_ = Column('bit(6)', BIT(6))
bit_7_ = Column('bit(7)', BIT(7))
Thank you for raising this issue! I'll look into it and try to help if I can.
@Mizokuiam @tylerm007 Guys, can you clarify if the example above accurately represents the issue? Are you really using columns names like 'bit(1)', or am I reading this wrong?
This is part of the stress test where we generated every postgres column name
This appears to work fine, with the following procedure:
- Create the Manager
- Open the
nw_sampleapp - Rename `ui/admin/admin.yaml'
- Rebuild the admin yaml:
als rebuild-from-model - Run the project; I am seeing the screen shot below which uses the aliased name
@Mizokuiam
Sir, are you interested in looking at this bug? If you'd like to get in touch, great... please email us at [email protected]