62 lines
2 KiB
C#
62 lines
2 KiB
C#
// <auto-generated />
|
|
using Authinator.Backend.Database;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
#nullable disable
|
|
|
|
namespace Authinator.Migrations
|
|
{
|
|
[DbContext(typeof(DatabaseContext))]
|
|
[Migration("20230528173603_90386D40-0C64-4543-99A3-401D20F01FA8")]
|
|
partial class _90386D400C64454399A3401D20F01FA8
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder.HasAnnotation("ProductVersion", "7.0.4");
|
|
|
|
modelBuilder.Entity("Authinator.Backend.Database.Tables.Config", b =>
|
|
{
|
|
b.Property<string>("Key")
|
|
.HasColumnType("TEXT")
|
|
.HasColumnName("Key");
|
|
|
|
b.Property<string>("Value")
|
|
.IsRequired()
|
|
.HasColumnType("TEXT")
|
|
.HasColumnName("Value");
|
|
|
|
b.HasKey("Key");
|
|
|
|
b.ToTable("Config", (string)null);
|
|
});
|
|
|
|
modelBuilder.Entity("Authinator.Backend.Database.Tables.User", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("INTEGER");
|
|
|
|
b.Property<string>("Password")
|
|
.IsRequired()
|
|
.HasColumnType("TEXT")
|
|
.HasColumnName("Password");
|
|
|
|
b.Property<string>("Username")
|
|
.IsRequired()
|
|
.HasColumnType("TEXT")
|
|
.HasColumnName("Username");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("Users", (string)null);
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|