equal
deleted
inserted
replaced
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) |