Added is_configuration flag to entities

This commit is contained in:
Fabio Manganiello 2023-01-03 23:12:27 +01:00
parent 81fee3ea2a
commit c32aecece3
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -53,6 +53,7 @@ if 'entity' not in Base.metadata:
is_read_only = Column(Boolean, default=False) is_read_only = Column(Boolean, default=False)
is_write_only = Column(Boolean, default=False) is_write_only = Column(Boolean, default=False)
is_query_disabled = Column(Boolean, default=False) is_query_disabled = Column(Boolean, default=False)
is_configuration = Column(Boolean, default=False)
created_at = Column( created_at = Column(
DateTime(timezone=False), default=datetime.utcnow(), nullable=False DateTime(timezone=False), default=datetime.utcnow(), nullable=False
) )