Skip to content

remove quoting in compare server default #1178

@zzzeek

Description

@zzzeek

will be updated by #1177, but the logic we want to remove is:

if metadata_col.type._type_affinity is sqltypes.String:
metadata_default = re.sub(r"^'|'$", "", metadata_default)
return f"'{metadata_default}'"

that logic should be within dialects only on an as-needed basis.

we can't remove it on a point release since the converted string is passed to user defined server default comparison

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions