Skip to content

Commit

Permalink
Added image for wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
rdagumampan committed Feb 2, 2020
1 parent 20b2d3c commit 98e7e13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added assets/wiki-how-it-works-dir.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion yuniql-core/MigrationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public List<DbVersion> GetAllVersions()
/// <param name="workingPath">The directory path to migration project.</param>
/// <param name="targetVersion">The maximum version to run to. When NULL, runs migration to the latest version found in the workspace path.</param>
/// <param name="autoCreateDatabase">When TRUE, creates the database in the target host.</param>
/// <param name="tokens">Token kev/value pairs to replace tokens in script files.</param>
/// <param name="tokenKeyPairs">Token kev/value pairs to replace tokens in script files.</param>
/// <param name="verifyOnly">When TRUE, runs the migration in uncommitted mode. No changes are committed to target database. When NULL, runs migration in atomic mode.</param>
/// <param name="delimiter">Delimeter character in the CSV bulk import files. When NULL, uses comma.</param>
/// <param name="commandTimeout">Command timeout in seconds. When NULL, it uses default provider command timeout.</param>
Expand Down Expand Up @@ -348,6 +348,7 @@ private void RunSqlScripts(
int? commandTimeout = null
)
{
//TODO: Filter out scripts when environment code is used
var sqlScriptFiles = _directoryService.GetFiles(versionFullPath, "*.sql").ToList();
_traceService.Info($"Found the {sqlScriptFiles.Count} script files on {versionFullPath}");
_traceService.Info($"{string.Join(@"\r\n\t", sqlScriptFiles.Select(s => new FileInfo(s).Name))}");
Expand Down

0 comments on commit 98e7e13

Please sign in to comment.