don't create postgis extension, needs to be created with superuser account

This commit is contained in:
Gwendolyn 2022-11-24 15:59:13 +01:00
parent 2091a87c93
commit af2dc43b8c

View file

@ -14,9 +14,6 @@ namespace labdb.Migrations
/// <inheritdoc /> /// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder) protected override void Up(MigrationBuilder migrationBuilder)
{ {
migrationBuilder.AlterDatabase()
.Annotation("Npgsql:PostgresExtension:postgis", ",,");
migrationBuilder.CreateTable( migrationBuilder.CreateTable(
name: "country", name: "country",
columns: table => new columns: table => new