fix(migrations): sl_columns is_temporal mapping (#19786)

This commit is contained in:
Cemre Mengu 2022-04-20 17:31:40 +03:00 committed by GitHub
parent e3a54aa3c1
commit 9c20299039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -430,7 +430,7 @@ def copy_columns(session: Session) -> None:
),
sa.literal(False).label("is_aggregation"),
is_physical_column.label("is_physical"),
TableColumn.is_dttm.label("is_temporal"),
func.coalesce(TableColumn.is_dttm, False).label("is_temporal"),
func.coalesce(TableColumn.type, UNKNOWN_TYPE).label("type"),
TableColumn.extra.label("extra_json"),
]