Profile Page

This commit is contained in:
Andre Beging
2022-05-21 18:22:18 +02:00
parent e71ef30641
commit 5961c06004
12 changed files with 178 additions and 19 deletions

View File

@@ -11,7 +11,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace FoodsharingSiegen.Server.Migrations
{
[DbContext(typeof(FsContext))]
[Migration("20220521114808_init")]
[Migration("20220521155432_init")]
partial class init
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
@@ -106,6 +106,9 @@ namespace FoodsharingSiegen.Server.Migrations
.IsRequired()
.HasColumnType("TEXT");
b.Property<string>("Memo")
.HasColumnType("TEXT");
b.Property<string>("Name")
.IsRequired()
.HasColumnType("TEXT");

View File

@@ -14,10 +14,10 @@ namespace FoodsharingSiegen.Server.Migrations
columns: table => new
{
Id = table.Column<Guid>(type: "TEXT", nullable: false),
FsId = table.Column<int>(type: "INTEGER", nullable: false),
Name = table.Column<string>(type: "TEXT", nullable: false),
Created = table.Column<DateTime>(type: "TEXT", nullable: false),
Memo = table.Column<string>(type: "TEXT", nullable: true)
FsId = table.Column<int>(type: "INTEGER", nullable: false),
Memo = table.Column<string>(type: "TEXT", nullable: true),
Name = table.Column<string>(type: "TEXT", nullable: false)
},
constraints: table =>
{
@@ -29,14 +29,15 @@ namespace FoodsharingSiegen.Server.Migrations
columns: table => new
{
Id = table.Column<Guid>(type: "TEXT", nullable: false),
Mail = table.Column<string>(type: "TEXT", nullable: false),
Type = table.Column<int>(type: "INTEGER", nullable: false),
Verified = table.Column<bool>(type: "INTEGER", nullable: false),
Name = table.Column<string>(type: "TEXT", nullable: false),
Created = table.Column<DateTime>(type: "TEXT", nullable: false),
EncryptedPassword = table.Column<string>(type: "TEXT", nullable: false),
ForceLogout = table.Column<bool>(type: "INTEGER", nullable: false),
Groups = table.Column<string>(type: "TEXT", nullable: false),
ForceLogout = table.Column<bool>(type: "INTEGER", nullable: false)
Mail = table.Column<string>(type: "TEXT", nullable: false),
Memo = table.Column<string>(type: "TEXT", nullable: true),
Name = table.Column<string>(type: "TEXT", nullable: false),
Type = table.Column<int>(type: "INTEGER", nullable: false),
Verified = table.Column<bool>(type: "INTEGER", nullable: false)
},
constraints: table =>
{
@@ -48,14 +49,14 @@ namespace FoodsharingSiegen.Server.Migrations
columns: table => new
{
Id = table.Column<Guid>(type: "TEXT", nullable: false),
UserID = table.Column<Guid>(type: "TEXT", nullable: false),
Alert = table.Column<bool>(type: "INTEGER", nullable: false),
Created = table.Column<DateTime>(type: "TEXT", nullable: false),
Date = table.Column<DateTime>(type: "TEXT", nullable: false),
Info = table.Column<string>(type: "TEXT", nullable: true),
Type = table.Column<int>(type: "INTEGER", nullable: false),
ProspectID = table.Column<Guid>(type: "TEXT", nullable: false),
Alert = table.Column<bool>(type: "INTEGER", nullable: false),
NotNeeded = table.Column<bool>(type: "INTEGER", nullable: false),
Created = table.Column<DateTime>(type: "TEXT", nullable: false)
ProspectID = table.Column<Guid>(type: "TEXT", nullable: false),
Type = table.Column<int>(type: "INTEGER", nullable: false),
UserID = table.Column<Guid>(type: "TEXT", nullable: false)
},
constraints: table =>
{

View File

@@ -104,6 +104,9 @@ namespace FoodsharingSiegen.Server.Migrations
.IsRequired()
.HasColumnType("TEXT");
b.Property<string>("Memo")
.HasColumnType("TEXT");
b.Property<string>("Name")
.IsRequired()
.HasColumnType("TEXT");