This commit is contained in:
SpecialX
2025-07-01 19:05:07 +08:00
parent a21ca80782
commit 017cc2169c
33 changed files with 3778 additions and 109 deletions

View File

@@ -500,8 +500,8 @@ namespace TechHelper.Server.Migrations
.HasColumnType("char(36)")
.HasColumnName("assignment_id");
b.Property<Guid>("AttemptNumber")
.HasColumnType("char(36)")
b.Property<byte>("AttemptNumber")
.HasColumnType("tinyint unsigned")
.HasColumnName("attempt_number");
b.Property<DateTime?>("GradedAt")
@@ -584,6 +584,10 @@ namespace TechHelper.Server.Migrations
.HasColumnType("float")
.HasColumnName("points_awarded");
b.Property<int>("Status")
.HasColumnType("int")
.HasColumnName("status");
b.Property<string>("StudentAnswer")
.HasColumnType("longtext")
.HasColumnName("student_answer");
@@ -751,19 +755,19 @@ namespace TechHelper.Server.Migrations
b.HasData(
new
{
Id = new Guid("e3bff43c-36af-497a-971c-ed0a487bdd38"),
Id = new Guid("6d49bb08-97d6-4a38-88a7-8080925b589b"),
Name = "Student",
NormalizedName = "STUDENT"
},
new
{
Id = new Guid("f05c125e-e70f-40eb-9e19-6e69c3426849"),
Id = new Guid("e330c745-f422-43e3-bcdf-1439ace3c52f"),
Name = "Teacher",
NormalizedName = "TEACHER"
},
new
{
Id = new Guid("cf16c215-63f8-4962-8ad0-058274ecf944"),
Id = new Guid("379143a2-8d7f-4ef7-b7c0-14701b710f87"),
Name = "Administrator",
NormalizedName = "ADMINISTRATOR"
});