_template-service/Migrations/20241213175020_greets.Designer.cs
adam 75381d62a7
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit
can't transform without word boundary, apparently
2024-12-13 15:07:48 -05:00

45 lines
1.3 KiB
C#

// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using $REPO_NAME;
#nullable disable
namespace $REPO_NAME.Migrations
{
[DbContext(typeof($REPO_NAME_DBContext))]
[Migration("20241213175020_greets")]
partial class greets
{
/// <inheritdoc />
protected override void BuildTargetModel(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
}
}
}