Skip to content

Commit

Permalink
Remove obsolete V3_3 migration files across databases.
Browse files Browse the repository at this point in the history
Deleted V3_3 migration files for MySQL, SQL Server, SQLite, PostgreSQL, and Oracle. These migrations were no longer required due to changes in database schema management. This cleanup ensures consistency and prevents unintended migrations.
  • Loading branch information
sfmskywalker committed Jan 5, 2025
1 parent 965a67c commit 63d2e96
Show file tree
Hide file tree
Showing 125 changed files with 205 additions and 175 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace Elsa.EntityFrameworkCore.MySql.Migrations.Alterations
/// <inheritdoc />
public partial class V3_1 : Migration
{
private readonly IElsaDbContextSchema _schema;
private readonly Elsa.EntityFrameworkCore.IElsaDbContextSchema _schema;

/// <inheritdoc />
public V3_1(IElsaDbContextSchema schema)
public V3_1(Elsa.EntityFrameworkCore.IElsaDbContextSchema schema)
{
_schema = schema;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace Elsa.EntityFrameworkCore.MySql.Migrations.Alterations
/// <inheritdoc />
public partial class V3_2 : Migration
{
private readonly IElsaDbContextSchema _schema;
private readonly Elsa.EntityFrameworkCore.IElsaDbContextSchema _schema;

/// <inheritdoc />
public V3_2(IElsaDbContextSchema schema)
public V3_2(Elsa.EntityFrameworkCore.IElsaDbContextSchema schema)
{
_schema = schema;
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Elsa.EntityFrameworkCore.Modules.Alterations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

#nullable disable
Expand All @@ -17,9 +18,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("Elsa")
.HasAnnotation("ProductVersion", "7.0.20")
.HasAnnotation("ProductVersion", "8.0.11")
.HasAnnotation("Relational:MaxIdentifierLength", 64);

MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);

modelBuilder.Entity("Elsa.Alterations.Core.Entities.AlterationJob", b =>
{
b.Property<string>("Id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace Elsa.EntityFrameworkCore.MySql.Migrations.Identity
/// <inheritdoc />
public partial class V3_1 : Migration
{
private readonly IElsaDbContextSchema _schema;
private readonly Elsa.EntityFrameworkCore.IElsaDbContextSchema _schema;

/// <inheritdoc />
public V3_1(IElsaDbContextSchema schema)
public V3_1(Elsa.EntityFrameworkCore.IElsaDbContextSchema schema)
{
_schema = schema;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace Elsa.EntityFrameworkCore.MySql.Migrations.Identity
/// <inheritdoc />
public partial class V3_2 : Migration
{
private readonly IElsaDbContextSchema _schema;
private readonly Elsa.EntityFrameworkCore.IElsaDbContextSchema _schema;

/// <inheritdoc />
public V3_2(IElsaDbContextSchema schema)
public V3_2(Elsa.EntityFrameworkCore.IElsaDbContextSchema schema)
{
_schema = schema;
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Elsa.EntityFrameworkCore.Modules.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

#nullable disable
Expand All @@ -16,9 +17,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("Elsa")
.HasAnnotation("ProductVersion", "7.0.20")
.HasAnnotation("ProductVersion", "8.0.11")
.HasAnnotation("Relational:MaxIdentifierLength", 64);

MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);

modelBuilder.Entity("Elsa.Identity.Entities.Application", b =>
{
b.Property<string>("Id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace Elsa.EntityFrameworkCore.MySql.Migrations.Labels
/// <inheritdoc />
public partial class V3_1 : Migration
{
private readonly IElsaDbContextSchema _schema;
private readonly Elsa.EntityFrameworkCore.IElsaDbContextSchema _schema;

/// <inheritdoc />
public V3_1(IElsaDbContextSchema schema)
public V3_1(Elsa.EntityFrameworkCore.IElsaDbContextSchema schema)
{
_schema = schema;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace Elsa.EntityFrameworkCore.MySql.Migrations.Labels
/// <inheritdoc />
public partial class V3_2 : Migration
{
private readonly IElsaDbContextSchema _schema;
private readonly Elsa.EntityFrameworkCore.IElsaDbContextSchema _schema;

/// <inheritdoc />
public V3_2(IElsaDbContextSchema schema)
public V3_2(Elsa.EntityFrameworkCore.IElsaDbContextSchema schema)
{
_schema = schema;
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Elsa.EntityFrameworkCore.Modules.Labels;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

#nullable disable
Expand All @@ -16,9 +17,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("Elsa")
.HasAnnotation("ProductVersion", "7.0.20")
.HasAnnotation("ProductVersion", "8.0.11")
.HasAnnotation("Relational:MaxIdentifierLength", 64);

MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);

modelBuilder.Entity("Elsa.Labels.Entities.Label", b =>
{
b.Property<string>("Id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace Elsa.EntityFrameworkCore.MySql.Migrations.Management
/// <inheritdoc />
public partial class V3_1 : Migration
{
private readonly IElsaDbContextSchema _schema;
private readonly Elsa.EntityFrameworkCore.IElsaDbContextSchema _schema;

/// <inheritdoc />
public V3_1(IElsaDbContextSchema schema)
public V3_1(Elsa.EntityFrameworkCore.IElsaDbContextSchema schema)
{
_schema = schema;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ namespace Elsa.EntityFrameworkCore.MySql.Migrations.Management
/// <inheritdoc />
public partial class V3_2 : Migration
{
private readonly IElsaDbContextSchema _schema;
private readonly Elsa.EntityFrameworkCore.IElsaDbContextSchema _schema;

/// <inheritdoc />
public V3_2(IElsaDbContextSchema schema)
public V3_2(Elsa.EntityFrameworkCore.IElsaDbContextSchema schema)
{
_schema = schema;
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Elsa.EntityFrameworkCore.Modules.Management;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

#nullable disable
Expand All @@ -17,9 +18,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("Elsa")
.HasAnnotation("ProductVersion", "7.0.20")
.HasAnnotation("ProductVersion", "8.0.11")
.HasAnnotation("Relational:MaxIdentifierLength", 64);

MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);

modelBuilder.Entity("Elsa.Workflows.Management.Entities.WorkflowDefinition", b =>
{
b.Property<string>("Id")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Elsa.EntityFrameworkCore;

using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("Elsa")
.HasAnnotation("ProductVersion", "9.0.0")
.HasAnnotation("ProductVersion", "8.0.11")
.HasAnnotation("Relational:MaxIdentifierLength", 64);

MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Elsa.EntityFrameworkCore.Modules.Tenants;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

#nullable disable
Expand All @@ -16,9 +17,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
#pragma warning disable 612, 618
modelBuilder
.HasDefaultSchema("Elsa")
.HasAnnotation("ProductVersion", "7.0.20")
.HasAnnotation("ProductVersion", "8.0.11")
.HasAnnotation("Relational:MaxIdentifierLength", 64);

MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);

modelBuilder.Entity("Elsa.Common.Multitenancy.Tenant", b =>
{
b.Property<string>("Id")
Expand Down
Loading

0 comments on commit 63d2e96

Please sign in to comment.