55 lines
1.7 KiB
C#
55 lines
1.7 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using AS1024.GeoFeed.Core.GeoFeedSqliteLocalCache;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
#nullable disable
|
|
|
|
namespace AS1024.GeoFeed.Core.SqliteGeoFeedCache.Migrations
|
|
{
|
|
[DbContext(typeof(GeoFeedCacheDbContext))]
|
|
[Migration("20240114002908_InitialMigration")]
|
|
partial class InitialMigration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder.HasAnnotation("ProductVersion", "8.0.0");
|
|
|
|
modelBuilder.Entity("AS1024.GeoFeed.Core.GeoFeedSqliteLocalCache.GeoFeedCacheEntry", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("GeolocCity")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("GeolocCountry")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<bool?>("GeolocHasLocation")
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("GeolocPostalCode")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("GeolocRegion")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.Property<string>("Prefix")
|
|
.HasColumnType("TEXT");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("GeoFeedCacheEntries");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|