KSmithDev.Flight
0.5.0-preview.0.7
See the version list below for details.
dotnet add package KSmithDev.Flight --version 0.5.0-preview.0.7
NuGet\Install-Package KSmithDev.Flight -Version 0.5.0-preview.0.7
<PackageReference Include="KSmithDev.Flight" Version="0.5.0-preview.0.7" />
<PackageVersion Include="KSmithDev.Flight" Version="0.5.0-preview.0.7" />
<PackageReference Include="KSmithDev.Flight" />
paket add KSmithDev.Flight --version 0.5.0-preview.0.7
#r "nuget: KSmithDev.Flight, 0.5.0-preview.0.7"
#addin nuget:?package=KSmithDev.Flight&version=0.5.0-preview.0.7&prerelease
#tool nuget:?package=KSmithDev.Flight&version=0.5.0-preview.0.7&prerelease
Flight
Flight is an easy to use framework for applying SQL to a database deterministically. You create a migration plan and Flight will take care of the rest.
Look how easy it is to use:
// generate a logger factory
using var loggerFactory = LoggerFactory.Create(b =>
{
b.AddConsole();
b.SetMinimumLevel(LogLevel.Trace);
});
// build a migration
var migration = new MigrationBuilder()
// set the connection string to the target database
.UseSqlServer(@"(LocalDB)\MSSQLLocalDB", database: "MigrationTest")
// using one transaction will execute all migration scripts inside a transaction
.UseOneTransaction()
// scripts can be loaded from the file system and will be only executed once
.AddMigrationScripts(
new FileSystemScriptProvider(new[] { @"SqlServer\Migrations" }) {
Recursive = true, // search all subdirectories
Sorted = true }) // sort the scripts by filename prior to execution
// idempotent scripts will be run when the file changes
// this is great for views, stored procedures, and function
.AddMigrationScripts(
new FileSystemScriptProvider(new[] { @"SqlServer\Views" }) {
Idempotent = true })
.Build(loggerFactory);
// begin the migration
await migration.MigrateAsync();
Supported Databases
- SQL Server
- SQLite
- PostgreSQL
- MySQL
Installation
Install Flight by running:
# for MS SQL Server
dotnet add package KSmithDev.Flight.SqlServer
# for Sqlite
dotnet add package KSmithDev.Flight.Sqlite
# for PostgreSQL
dotnet add package KSmithDev.Flight.Postgres
# for MySql
dotnet add package KSmithDev.Flight.MySql
Contribute
- Issue Tracker: github.com/ksmithdev/Flight/issues
- Source Code: github.com/ksmithdev/Flight
License
The project is licensed under the Apache License 2.0.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
-
.NETStandard 2.1
NuGet packages (4)
Showing the top 4 NuGet packages that depend on KSmithDev.Flight:
Package | Downloads |
---|---|
KSmithDev.Flight.Sqlite
Flight is an easy to use framework for applying SQL to a database deterministically. You create a migration plan and Flight will take care of the rest. |
|
KSmithDev.Flight.SqlServer
Flight is an easy to use framework for applying SQL to a database deterministically. You create a migration plan and Flight will take care of the rest. |
|
KSmithDev.Flight.Postgres
Flight is an easy to use framework for applying SQL to a database deterministically. You create a migration plan and Flight will take care of the rest. |
|
KSmithDev.Flight.MySql
Flight is an easy to use framework for applying SQL to a database deterministically. You create a migration plan and Flight will take care of the rest. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.6.0 | 195 | 5/19/2025 |
0.6.0-preview.0.2 | 114 | 5/19/2025 |
0.5.0 | 186 | 5/19/2025 |
0.5.0-preview.0.7 | 120 | 5/19/2025 |
0.5.0-preview.0.6 | 117 | 5/19/2025 |
0.3.0 | 1,545 | 11/15/2022 |
0.3.0-preview.0.3 | 237 | 11/14/2021 |
0.2.0 | 1,647 | 8/10/2020 |
0.2.0-preview.0.5 | 321 | 8/10/2020 |
0.2.0-preview.0.4 | 299 | 7/3/2020 |
0.2.0-preview.0.3 | 291 | 7/3/2020 |
0.1.24 | 1,375 | 6/17/2020 |
0.1.23 | 1,374 | 6/17/2020 |
0.1.22 | 1,238 | 6/16/2020 |
0.1.0-alpha1 | 916 | 5/11/2020 |