Skip to content

Commit 29c568d

Browse files
Revert "fix: duplicate insertion issue"
This reverts commit 65305af.
1 parent e056136 commit 29c568d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Nullinside.Api.Model/Ddl/TwitchBan.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using Microsoft.EntityFrameworkCore;
22

3-
using MySql.EntityFrameworkCore.Extensions;
4-
53
namespace Nullinside.Api.Model.Ddl;
64

75
/// <summary>
@@ -41,8 +39,6 @@ public class TwitchBan : ITableModel {
4139
public void OnModelCreating(ModelBuilder modelBuilder) {
4240
modelBuilder.Entity<TwitchBan>(entity => {
4341
entity.HasKey(e => e.Id);
44-
entity.Property(e => e.Id)
45-
.UseMySQLAutoIncrementColumn("int");
4642
entity.Property(e => e.ChannelId)
4743
.HasMaxLength(255);
4844
entity.Property(e => e.BannedUserTwitchId)

src/Nullinside.Api.Model/Migrations/NullinsideContextModelSnapshot.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
1616
{
1717
#pragma warning disable 612, 618
1818
modelBuilder
19-
.HasAnnotation("ProductVersion", "8.0.13")
19+
.HasAnnotation("ProductVersion", "8.0.11")
2020
.HasAnnotation("Relational:MaxIdentifierLength", 64);
2121

2222
modelBuilder.Entity("Nullinside.Api.Model.Ddl.DockerDeployments", b =>

0 commit comments

Comments
 (0)