protected override DatAdmin.Constraint MigrateConstraintOrIndex(DatAdmin.Constraint cnt, IMigrationProfile profile, IProgressInfo progress) { var index = cnt as IndexConstraint; if (index != null) { foreach (var colname in index.Columns) { var col = cnt.Table.Columns[colname.ColumnName]; if (col.DataType is DbTypeBlob || col.DataType is DbTypeText || col.DataType is DbTypeXml) { progress.Warning("Column {0}:{1} cannot be indexable, because it is BLOB type", colname, col.DataType); return(null); } } } return(base.MigrateConstraintOrIndex(cnt, profile, progress)); }