Skip to content

Viostream/dbup-snowflake

Repository files navigation

DbUp Snowflake extensions

Nuget Package Quality Gate Status

Snowflake extentions for DbUp, distributed via NuGet

Install

Use Nuget.

Use

...

using DbUp.Snowflake;

namespace MyNamespace
{
    class Program
    {
        static int Main(string[] args)
        {
            ...
            var connectionString = "getThisFromSomewhereSecret";
            var upgrader =
                DeployChanges.To
                    .SnowflakeDatabase($"DSN=snowflake;{connectionString}", "JOURNAL_SCHEMA")
                    .WithScriptsEmbeddedInAssembly(Assembly.GetExecutingAssembly())
                    .LogToConsole()
                    .Build();

            var result = upgrader.PerformUpgrade();
            ...
        }
    }
}

About

Snowflake extensions for DbUp

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages