xpgdiff.py
def print_column_migration_ddl(source_table, source_column, target_column):
    """
    Prints the migration DDL for a column.

    N.B. This does not check that the DDL will work on data in the column.

    :param source_table: The table in the source schema.
    :param source_column: The column in the source schema.
    :param target_column: The column in the target schema.
    """
    if source_column != target_column:
        print(target_column.alterstr())

    Prints the migration DDL for a column.

    N.B. This does not check that the DDL will work on data in the column.

    :param source_table: The table in the source schema.
    :param source_column: The column in the source schema.
    :param target_column: The column in the target schema.
    
Prints the migration DDL for a column.
Prints the migration DDL for a column .
def print_column_migration_ddl(source_table, source_column, target_column):
    if source_column != target_column:
        print(target_column.alterstr())
def print_column_migration_ddl ( source_table , source_column , target_column ) : if source_column != target_column : print ( target_column . alterstr ( ) )
Prints the migration DDL for a column.
Prints the migration DDL for a column .
"""
    Prints the migration DDL for a column.

    N.B. This does not check that the DDL will work on data in the column.

    :param source_table: The table in the source schema.
    :param source_column: The column in the source schema.
    :param target_column: The column in the target schema.
    """
source_table
The table in the source schema.
The table in the source schema .
source_column
The column in the source schema.
The column in the source schema .
target_column
The column in the target schema.
The column in the target schema .