From ff9b1e112ed14746ed74dfff1fb4c19efd5502d4 Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 19 Apr 2025 12:16:15 +0200 Subject: Add user information settings --- VPNAuth.Server/Migrations/DatabaseModelSnapshot.cs | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'VPNAuth.Server/Migrations/DatabaseModelSnapshot.cs') diff --git a/VPNAuth.Server/Migrations/DatabaseModelSnapshot.cs b/VPNAuth.Server/Migrations/DatabaseModelSnapshot.cs index d735267..e4643df 100644 --- a/VPNAuth.Server/Migrations/DatabaseModelSnapshot.cs +++ b/VPNAuth.Server/Migrations/DatabaseModelSnapshot.cs @@ -82,6 +82,38 @@ namespace VPNAuth.Server.Migrations b.ToTable("AuthRequests"); }); + + modelBuilder.Entity("VPNAuth.Server.Database.UserInformation", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("INTEGER"); + + b.Property("Email") + .HasColumnType("TEXT"); + + b.Property("FamilyName") + .HasColumnType("TEXT"); + + b.Property("GivenName") + .HasColumnType("TEXT"); + + b.Property("Name") + .HasColumnType("TEXT"); + + b.Property("Picture") + .HasColumnType("TEXT"); + + b.Property("PreferredUsername") + .HasColumnType("TEXT"); + + b.Property("Sub") + .HasColumnType("TEXT"); + + b.HasKey("Id"); + + b.ToTable("UserInformation"); + }); #pragma warning restore 612, 618 } } -- cgit v1.2.3