_template-service/Migrations/greynsvcDBContextModelSnapshot.cs

42 lines
1.2 KiB
C#
Raw Permalink Normal View History

// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using $REPO_NAME;
#nullable disable
namespace $REPO_NAME.Migrations
{
2024-12-13 15:12:41 -05:00
[DbContext(typeof(greynsvcDBContext))]
partial class greynsvcDBContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "9.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("$REPO_NAME.Models.GreetCounter", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
b.Property<int>("Amount")
.HasColumnType("integer");
b.HasKey("Id");
b.ToTable("Greets");
});
#pragma warning restore 612, 618
}
}
}