tablediff.py
changeset 83 515fadd3d286
parent 56 94e091c23ebb
child 93 b72591087495
equal deleted inserted replaced
82:7b82dc1fb6f5 83:515fadd3d286
     7 #  * Destination table must contain all columns from source table.
     7 #  * Destination table must contain all columns from source table.
     8 #    Order is not important.
     8 #    Order is not important.
     9 #
     9 #
    10 
    10 
    11 from pgtoolkit import toolbase, pgmanager, pgdatadiff
    11 from pgtoolkit import toolbase, pgmanager, pgdatadiff
    12 from pgtoolkit.highlight import *
    12 from pycolib.ansicolor import highlight, BOLD, YELLOW
    13 
    13 
    14 
    14 
    15 class TableDiffTool(toolbase.SrcDstTablesTool):
    15 class TableDiffTool(toolbase.SrcDstTablesTool):
    16     def __init__(self):
    16     def __init__(self):
    17         toolbase.SrcDstTablesTool.__init__(self, name='tablediff', desc='Table diff.', allow_reverse = True)
    17         toolbase.SrcDstTablesTool.__init__(self, name='tablediff', desc='Table diff.', allow_reverse = True)