mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
[schema] Updating the base metric schema (#5453)
This commit is contained in:
@@ -411,7 +411,7 @@ class BaseMetric(AuditMixinNullable, ImportMixin):
|
||||
__tablename__ = None # {connector_name}_metric
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
metric_name = Column(String(512))
|
||||
metric_name = Column(String(255), nullable=False)
|
||||
verbose_name = Column(String(1024))
|
||||
metric_type = Column(String(32))
|
||||
description = Column(Text)
|
||||
|
||||
Reference in New Issue
Block a user