Skip to content

Commit 169f2d6

Browse files
authored
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
1 parent 54591b1 commit 169f2d6

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
Represents the **NuGet** versions.
44

5+
## v2.6.1
6+
- *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
7+
58
## v2.6.0
69
- *Enhancement:* Added a `DbColumnSchema.SqlType2` that does _not_ include nullability.
710
- *Enhancement:* The `SqlServerSchemaScript.SupportsReplace` is enabled where a `CREATE OR ALTER` is specified.
8-
- *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).
11+
- *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).
912
- *Fixed:* The logic for finding file-based SQL schema scripts has been corrected.
1013

1114
## v2.5.9

Common.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>2.6.0</Version>
3+
<Version>2.6.1</Version>
44
<LangVersion>preview</LangVersion>
55
<Authors>Avanade</Authors>
66
<Company>Avanade</Company>

src/DbEx/MigrationCommand.cs

+6
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ public enum MigrationCommand
5959
/// </summary>
6060
All = Create | Migrate | CodeGen | Schema | Data,
6161

62+
/// <summary>
63+
/// Performs <see cref="Create"/>, <see cref="Migrate"/> and <see cref="CodeGen"/>.
64+
/// </summary>
65+
/// <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>
66+
CreateMigrateAndCodeGen = Create | Migrate | CodeGen,
67+
6268
/// <summary>
6369
/// Performs <see cref="Migrate"/> and <see cref="Schema"/>.
6470
/// </summary>

0 commit comments

Comments
 (0)