Saxonite v1.2.10.1
Db schema comparison when source database has no tables.
This commit is contained in:
@@ -129,7 +129,7 @@ namespace Sarand.Net.Standard.Dbas.Proc
|
|||||||
{
|
{
|
||||||
String sourceTableName = (sourceTableIdx < sourceTables.Count ? sourceTables[sourceTableIdx] : "");
|
String sourceTableName = (sourceTableIdx < sourceTables.Count ? sourceTables[sourceTableIdx] : "");
|
||||||
String targetTableName = (targetTableIdx < targetTables.Count ? targetTables[targetTableIdx] : "");
|
String targetTableName = (targetTableIdx < targetTables.Count ? targetTables[targetTableIdx] : "");
|
||||||
if (StringUtil.IsEmpty(targetTableName) || targetTableName.CompareTo(sourceTableName) > 0)
|
if (!StringUtil.IsEmpty(sourceTableName) && (StringUtil.IsEmpty(targetTableName) || targetTableName.CompareTo(sourceTableName) > 0))
|
||||||
{
|
{
|
||||||
// Target table missing.
|
// Target table missing.
|
||||||
AddSchemaComparisonItem(sourceTableName, "", 0, "", "Table is missing");
|
AddSchemaComparisonItem(sourceTableName, "", 0, "", "Table is missing");
|
||||||
|
|||||||
Reference in New Issue
Block a user