Skip to content

Commit

Permalink
v2.6.1 (#60)
Browse files Browse the repository at this point in the history
- *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
  • Loading branch information
chullybun authored Oct 2, 2024
1 parent 54591b1 commit 169f2d6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Common.targets
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.6.0</Version>
<Version>2.6.1</Version>
<LangVersion>preview</LangVersion>
<Authors>Avanade</Authors>
<Company>Avanade</Company>
Expand Down
6 changes: 6 additions & 0 deletions src/DbEx/MigrationCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ public enum MigrationCommand
/// </summary>
All = Create | Migrate | CodeGen | Schema | Data,

/// <summary>
/// Performs <see cref="Create"/>, <see cref="Migrate"/> and <see cref="CodeGen"/>.
/// </summary>
/// <remarks>This can be useful in development scenarios where the <see cref="CodeGen"/> results in a new migration script that needs to be applied before any corresponding <see cref="Schema"/> operations are performed.</remarks>
CreateMigrateAndCodeGen = Create | Migrate | CodeGen,

/// <summary>
/// Performs <see cref="Migrate"/> and <see cref="Schema"/>.
/// </summary>
Expand Down

0 comments on commit 169f2d6

Please sign in to comment.