using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace AS1024.GeoFeed.Core.Migrations { /// public partial class InitialMigration : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "GeoFeedCacheEntries", columns: table => new { Id = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), GeolocCity = table.Column(type: "TEXT", nullable: true), GeolocCountry = table.Column(type: "TEXT", nullable: true), GeolocHasLocation = table.Column(type: "INTEGER", nullable: true), GeolocRegion = table.Column(type: "TEXT", nullable: true), GeolocPostalCode = table.Column(type: "TEXT", nullable: true), Prefix = table.Column(type: "TEXT", nullable: true) }, constraints: table => { table.PrimaryKey("PK_GeoFeedCacheEntries", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "GeoFeedCacheEntries"); } } }