2024-08-12 15:48:44 +01:00
|
|
|
|
// <auto-generated />
|
2024-08-13 12:29:01 +01:00
|
|
|
|
using System;
|
2024-08-12 15:48:44 +01:00
|
|
|
|
using API;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
namespace API.Migrations
|
|
|
|
|
{
|
|
|
|
|
[DbContext(typeof(AppDBContext))]
|
|
|
|
|
partial class AppDBContextModelSnapshot : ModelSnapshot
|
|
|
|
|
{
|
|
|
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
#pragma warning disable 612, 618
|
2024-08-13 12:29:01 +01:00
|
|
|
|
modelBuilder.HasAnnotation("ProductVersion", "8.0.7");
|
2024-08-12 15:48:44 +01:00
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("API.Models.User", b =>
|
|
|
|
|
{
|
2024-08-13 12:29:01 +01:00
|
|
|
|
b.Property<string>("Id")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("CreatedAt")
|
|
|
|
|
.HasColumnType("TEXT");
|
2024-08-12 15:48:44 +01:00
|
|
|
|
|
|
|
|
|
b.Property<string>("Email")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2024-08-13 12:29:01 +01:00
|
|
|
|
b.Property<string>("HashedPassword")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2024-09-04 13:32:53 +01:00
|
|
|
|
b.Property<string>("ProfilePicture")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2024-08-29 11:16:01 +01:00
|
|
|
|
b.Property<string>("RefreshToken")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("RefreshTokenExpiresAt")
|
2024-08-12 15:48:44 +01:00
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2024-08-13 12:29:01 +01:00
|
|
|
|
b.Property<DateTime>("UpdatedAt")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2024-08-12 15:48:44 +01:00
|
|
|
|
b.Property<string>("Username")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("Users");
|
|
|
|
|
});
|
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|