diff --git a/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.Designer.cs b/DD.Persistence.Database.Postgres/Migrations/20241220062251_Init.Designer.cs
similarity index 98%
rename from DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.Designer.cs
rename to DD.Persistence.Database.Postgres/Migrations/20241220062251_Init.Designer.cs
index c9979d7..02a25ce 100644
--- a/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.Designer.cs
+++ b/DD.Persistence.Database.Postgres/Migrations/20241220062251_Init.Designer.cs
@@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace DD.Persistence.Database.Postgres.Migrations
{
[DbContext(typeof(PersistencePostgresContext))]
- [Migration("20241218105317_Init")]
+ [Migration("20241220062251_Init")]
partial class Init
{
///
@@ -20,11 +20,9 @@ namespace DD.Persistence.Database.Postgres.Migrations
{
#pragma warning disable 612, 618
modelBuilder
- .UseCollation("en_US.utf8")
.HasAnnotation("ProductVersion", "8.0.10")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
- NpgsqlModelBuilderExtensions.HasPostgresExtension(modelBuilder, "adminpack");
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("DD.Persistence.Database.Entity.DataSourceSystem", b =>
diff --git a/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.cs b/DD.Persistence.Database.Postgres/Migrations/20241220062251_Init.cs
similarity index 98%
rename from DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.cs
rename to DD.Persistence.Database.Postgres/Migrations/20241220062251_Init.cs
index 95f33d2..03a8c43 100644
--- a/DD.Persistence.Database.Postgres/Migrations/20241218105317_Init.cs
+++ b/DD.Persistence.Database.Postgres/Migrations/20241220062251_Init.cs
@@ -11,9 +11,6 @@ namespace DD.Persistence.Database.Postgres.Migrations
///
protected override void Up(MigrationBuilder migrationBuilder)
{
- migrationBuilder.AlterDatabase()
- .Annotation("Npgsql:PostgresExtension:adminpack", ",,");
-
migrationBuilder.CreateTable(
name: "ChangeLog",
columns: table => new
diff --git a/DD.Persistence.Database.Postgres/Migrations/PersistencePostgresContextModelSnapshot.cs b/DD.Persistence.Database.Postgres/Migrations/PersistencePostgresContextModelSnapshot.cs
index 077f9d2..4c66e90 100644
--- a/DD.Persistence.Database.Postgres/Migrations/PersistencePostgresContextModelSnapshot.cs
+++ b/DD.Persistence.Database.Postgres/Migrations/PersistencePostgresContextModelSnapshot.cs
@@ -17,11 +17,9 @@ namespace DD.Persistence.Database.Postgres.Migrations
{
#pragma warning disable 612, 618
modelBuilder
- .UseCollation("en_US.utf8")
.HasAnnotation("ProductVersion", "8.0.10")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
- NpgsqlModelBuilderExtensions.HasPostgresExtension(modelBuilder, "adminpack");
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("DD.Persistence.Database.Entity.DataSourceSystem", b =>
diff --git a/DD.Persistence.Database.Postgres/PersistencePostgresContext.cs b/DD.Persistence.Database.Postgres/PersistencePostgresContext.cs
index 6f9bc6a..65a9066 100644
--- a/DD.Persistence.Database.Postgres/PersistencePostgresContext.cs
+++ b/DD.Persistence.Database.Postgres/PersistencePostgresContext.cs
@@ -13,10 +13,6 @@ public partial class PersistencePostgresContext : PersistenceDbContext
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
- modelBuilder
- //.HasPostgresExtension("adminpack")
- .HasAnnotation("Relational:Collation", "en_US.utf8");
-
base.OnModelCreating(modelBuilder);
}