🗑️ Remove NetTopo
This commit is contained in:
2026
DysonNetwork.Pass/Migrations/20250907065933_RemoveNetTopo.Designer.cs
generated
Normal file
2026
DysonNetwork.Pass/Migrations/20250907065933_RemoveNetTopo.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
24
DysonNetwork.Pass/Migrations/20250907065933_RemoveNetTopo.cs
Normal file
24
DysonNetwork.Pass/Migrations/20250907065933_RemoveNetTopo.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace DysonNetwork.Pass.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class RemoveNetTopo : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterDatabase()
|
||||
.OldAnnotation("Npgsql:PostgresExtension:postgis", ",,");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterDatabase()
|
||||
.Annotation("Npgsql:PostgresExtension:postgis", ",,");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,6 @@ namespace DysonNetwork.Pass.Migrations
|
||||
.HasAnnotation("ProductVersion", "9.0.7")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.HasPostgresExtension(modelBuilder, "postgis");
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("DysonNetwork.Pass.Account.AbuseReport", b =>
|
||||
|
||||
Reference in New Issue
Block a user