From 169f2d649079903921ab131f9157dc5ecbdd9af8 Mon Sep 17 00:00:00 2001 From: "Eric Sibly [chullybun]" Date: Wed, 2 Oct 2024 12:58:20 -0700 Subject: [PATCH] v2.6.1 (#60) - *Fixed:* Added `MigrationCommand.CreateMigrateAndCodeGen`. This can be useful in development scenarios where the `CodeGen` phase results in a new migration script that needs to be applied before any corresponding `Schema` operations are performed; in this case, a secondary --- CHANGELOG.md | 5 ++++- Common.targets | 2 +- src/DbEx/MigrationCommand.cs | 6 ++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b96b5b9..e880439 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,13 @@ Represents the **NuGet** versions. +## v2.6.1 +- *Fixed:* Added `MigrationCommand.CreateMigrateAndCodeGen`. This can be useful in development scenarios where the `CodeGen` phase results in a new migration script that needs to be applied before any corresponding `Schema` operations are performed; in this case, a secondary + ## v2.6.0 - *Enhancement:* Added a `DbColumnSchema.SqlType2` that does _not_ include nullability. - *Enhancement:* The `SqlServerSchemaScript.SupportsReplace` is enabled where a `CREATE OR ALTER` is specified. -- *Enhancement:* The SQL Server [Event Outbox](https://github.com/Avanade/CoreEx/blob/main/src/CoreEx.Database.SqlServer/Outbox/EventOutboxEnqueueBase.cs) (_CoreEx_ `v3.26.0`) capabilities now support events as JSON versus existing TVP removing database dependency on a UDT (user-defined type). +- *Enhancement:* The SQL Server [Event Outbox](https://github.com/Avanade/CoreEx/blob/main/src/CoreEx.Database.SqlServer/Outbox/EventOutboxEnqueueBase.cs) (_CoreEx_ `v3.25.6`) capabilities now support events as JSON versus existing TVP removing database dependency on a UDT (user-defined type). - *Fixed:* The logic for finding file-based SQL schema scripts has been corrected. ## v2.5.9 diff --git a/Common.targets b/Common.targets index b70ae40..57a9865 100644 --- a/Common.targets +++ b/Common.targets @@ -1,6 +1,6 @@ - 2.6.0 + 2.6.1 preview Avanade Avanade diff --git a/src/DbEx/MigrationCommand.cs b/src/DbEx/MigrationCommand.cs index d41e1c8..5d719ae 100644 --- a/src/DbEx/MigrationCommand.cs +++ b/src/DbEx/MigrationCommand.cs @@ -59,6 +59,12 @@ public enum MigrationCommand /// All = Create | Migrate | CodeGen | Schema | Data, + /// + /// Performs , and . + /// + /// This can be useful in development scenarios where the results in a new migration script that needs to be applied before any corresponding operations are performed. + CreateMigrateAndCodeGen = Create | Migrate | CodeGen, + /// /// Performs and . ///