/// <inheritdoc />
        public override string FormatForeignKey(ForeignKeyDefinition foreignKey, Func <ForeignKeyDefinition, string> fkNameGeneration)
        {
            var fk2 = (ForeignKeyDefinition)foreignKey.Clone();

            // SQLite FK's must be within the same schema as the FK itself
            // so we'll remove the schema from the FK definition
            fk2.PrimaryTableSchema = string.Empty;

            return(base.FormatForeignKey(fk2, fkNameGeneration));
        }
 /// <inheritdoc />
 public override IMigrationExpression Reverse()
 {
     return(new DeleteForeignKeyExpression {
         ForeignKey = ForeignKey.Clone() as ForeignKeyDefinition
     });
 }