Added authentication
This commit is contained in:
parent
187ed5b8c0
commit
2e8ccf4849
Binary file not shown.
@ -157,7 +157,7 @@
|
||||
</site>
|
||||
<site name="StudyLib" id="2">
|
||||
<application path="/" applicationPool="StudyLib AppPool">
|
||||
<virtualDirectory path="/" physicalPath="E:\Studia\Pracownia programowania\git\study-lib-backend" />
|
||||
<virtualDirectory path="/" physicalPath="E:\pp-git\study-lib-backend" />
|
||||
</application>
|
||||
<bindings>
|
||||
<binding protocol="http" bindingInformation="*:56764:localhost" />
|
||||
|
Binary file not shown.
@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@ -11,6 +12,7 @@ using StudyLib.Models;
|
||||
namespace StudyLib.API.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
[Authorize]
|
||||
[ApiController]
|
||||
public class AssignmentsController : ControllerBase
|
||||
{
|
||||
|
@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@ -11,6 +12,7 @@ using StudyLib.API.Models;
|
||||
namespace StudyLib.API.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
[Authorize]
|
||||
[ApiController]
|
||||
public class CommentsController : ControllerBase
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using StudyLib.API.Data;
|
||||
using StudyLib.API.Models;
|
||||
@ -9,6 +10,7 @@ using System.Threading.Tasks;
|
||||
namespace StudyLib.API.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
[Authorize]
|
||||
[ApiController]
|
||||
public class SubjectDeleteRequestsController : ControllerBase
|
||||
{
|
||||
|
@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@ -12,6 +13,7 @@ using StudyLib.Models;
|
||||
namespace StudyLib.API.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
[Authorize]
|
||||
[ApiController]
|
||||
public class SubjectsController : ControllerBase
|
||||
{
|
||||
|
@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@ -11,6 +12,7 @@ using StudyLib.Models;
|
||||
namespace StudyLib.API.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
[Authorize]
|
||||
[ApiController]
|
||||
public class TestController : ControllerBase
|
||||
{
|
||||
|
@ -11,6 +11,7 @@ using System.Threading.Tasks;
|
||||
namespace StudyLib.API.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
[Authorize]
|
||||
[ApiController]
|
||||
public class UserProfilesController : ControllerBase
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ namespace StudyLib.API.Controllers
|
||||
}
|
||||
|
||||
[HttpPost("register")]
|
||||
public async Task<ActionResult<User>> UserRegister(User user)
|
||||
public async Task<ActionResult<User>> UserRegister(UserViewModel user)
|
||||
{
|
||||
var userModel = new User
|
||||
{
|
||||
@ -60,7 +60,7 @@ namespace StudyLib.API.Controllers
|
||||
{
|
||||
Subject = new ClaimsIdentity(new Claim[]
|
||||
{
|
||||
new Claim("UserID", user.ID.ToString())
|
||||
new Claim("UserID", user.Id)
|
||||
}),
|
||||
Expires = DateTime.UtcNow.AddDays(1),
|
||||
SigningCredentials = new SigningCredentials(new SymmetricSecurityKey(Encoding.UTF8.GetBytes(_appSettings.JWTSecret)), SecurityAlgorithms.HmacSha256Signature)
|
||||
@ -68,7 +68,13 @@ namespace StudyLib.API.Controllers
|
||||
var tokenHandler = new JwtSecurityTokenHandler();
|
||||
var securityToken = tokenHandler.CreateToken(tokenDescriptor);
|
||||
var token = tokenHandler.WriteToken(securityToken);
|
||||
return Ok(new { token });
|
||||
var userViewModel = new
|
||||
{
|
||||
ID = user.Id,
|
||||
UserName = user.UserName,
|
||||
FullName = user.FullName
|
||||
};
|
||||
return Ok(new { token, user = userViewModel });
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -6,7 +6,7 @@ using System;
|
||||
|
||||
namespace StudyLib.API.Data
|
||||
{
|
||||
public class StudyLibContext : IdentityDbContext
|
||||
public class StudyLibContext : IdentityDbContext<User>
|
||||
{
|
||||
public StudyLibContext(DbContextOptions<StudyLibContext> options) : base(options)
|
||||
{
|
||||
@ -18,5 +18,6 @@ namespace StudyLib.API.Data
|
||||
public DbSet<Comment> Comments { get; set; }
|
||||
public DbSet<Test> Tests { get; set; }
|
||||
public DbSet<SubjectDeleteRequest> SubjectDeleteRequests { get; set; }
|
||||
public DbSet<User> Users { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -1,13 +1,10 @@
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace StudyLib.API.Models
|
||||
{
|
||||
public class User : IdentityUser
|
||||
{
|
||||
public long ID { get; set; }
|
||||
|
||||
public string FullName { get; set; }
|
||||
|
||||
public string Password { get; set; }
|
||||
}
|
||||
}
|
||||
|
15
API/Models/UserViewModel.cs
Normal file
15
API/Models/UserViewModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StudyLib.API.Models
|
||||
{
|
||||
public class UserViewModel
|
||||
{
|
||||
public string ID { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public string FullName { get; set; }
|
||||
public string? Password { get; set; }
|
||||
}
|
||||
}
|
163
Migrations/20201203181145_Initial.Designer.cs
generated
163
Migrations/20201203181145_Initial.Designer.cs
generated
@ -1,163 +0,0 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using StudyLib.API.Data;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
[DbContext(typeof(StudyLibContext))]
|
||||
[Migration("20201203181145_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.UseIdentityColumns()
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
||||
.HasAnnotation("ProductVersion", "5.0.0");
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<long?>("SubjectID")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Text")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectID");
|
||||
|
||||
b.ToTable("Comment");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Deadline")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long?>("SubjectID")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectID");
|
||||
|
||||
b.ToTable("Assignment");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.MinorExam", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Date")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Scope")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long?>("SubjectID")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectID");
|
||||
|
||||
b.ToTable("MinorExam");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("ExamDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("LabTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("LectureTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("MainExam")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.ToTable("Subjects");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", null)
|
||||
.WithMany("Comments")
|
||||
.HasForeignKey("SubjectID");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", null)
|
||||
.WithMany("Tasks")
|
||||
.HasForeignKey("SubjectID");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.MinorExam", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", null)
|
||||
.WithMany("Tests")
|
||||
.HasForeignKey("SubjectID");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Navigation("Comments");
|
||||
|
||||
b.Navigation("Tasks");
|
||||
|
||||
b.Navigation("Tests");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
@ -1,123 +0,0 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
public partial class Initial : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Subjects",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Name = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
LectureTeacher = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
LabTeacher = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
MainExam = table.Column<bool>(type: "bit", nullable: false),
|
||||
ExamDate = table.Column<DateTime>(type: "datetime2", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Subjects", x => x.ID);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Assignment",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Name = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Deadline = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
Description = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
FinalMarkPercent = table.Column<double>(type: "float", nullable: false),
|
||||
SubjectID = table.Column<long>(type: "bigint", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Assignment", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_Assignment_Subjects_SubjectID",
|
||||
column: x => x.SubjectID,
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Comment",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Text = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
SubjectID = table.Column<long>(type: "bigint", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Comment", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_Comment_Subjects_SubjectID",
|
||||
column: x => x.SubjectID,
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "MinorExam",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Date = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
Scope = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
FinalMarkPercent = table.Column<double>(type: "float", nullable: false),
|
||||
SubjectID = table.Column<long>(type: "bigint", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_MinorExam", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_MinorExam_Subjects_SubjectID",
|
||||
column: x => x.SubjectID,
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Assignment_SubjectID",
|
||||
table: "Assignment",
|
||||
column: "SubjectID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Comment_SubjectID",
|
||||
table: "Comment",
|
||||
column: "SubjectID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_MinorExam_SubjectID",
|
||||
table: "MinorExam",
|
||||
column: "SubjectID");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "Assignment");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "Comment");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "MinorExam");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "Subjects");
|
||||
}
|
||||
}
|
||||
}
|
175
Migrations/20201204184348_SubModelsUpdate.Designer.cs
generated
175
Migrations/20201204184348_SubModelsUpdate.Designer.cs
generated
@ -1,175 +0,0 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using StudyLib.API.Data;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
[DbContext(typeof(StudyLibContext))]
|
||||
[Migration("20201204184348_SubModelsUpdate")]
|
||||
partial class SubModelsUpdate
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.UseIdentityColumns()
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
||||
.HasAnnotation("ProductVersion", "5.0.0");
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<long>("SubjectID")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Text")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectID");
|
||||
|
||||
b.ToTable("Comment");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Deadline")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectID")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectID");
|
||||
|
||||
b.ToTable("Assignment");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.MinorExam", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Date")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Scope")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectID")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectID");
|
||||
|
||||
b.ToTable("MinorExam");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("ExamDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("LabTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("LectureTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("MainExam")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.ToTable("Subjects");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Comments")
|
||||
.HasForeignKey("SubjectID")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Tasks")
|
||||
.HasForeignKey("SubjectID")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.MinorExam", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Tests")
|
||||
.HasForeignKey("SubjectID")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Navigation("Comments");
|
||||
|
||||
b.Navigation("Tasks");
|
||||
|
||||
b.Navigation("Tests");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
@ -1,139 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
public partial class SubModelsUpdate : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Assignment_Subjects_SubjectID",
|
||||
table: "Assignment");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Comment_Subjects_SubjectID",
|
||||
table: "Comment");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_MinorExam_Subjects_SubjectID",
|
||||
table: "MinorExam");
|
||||
|
||||
migrationBuilder.AlterColumn<long>(
|
||||
name: "SubjectID",
|
||||
table: "MinorExam",
|
||||
type: "bigint",
|
||||
nullable: false,
|
||||
defaultValue: 0L,
|
||||
oldClrType: typeof(long),
|
||||
oldType: "bigint",
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<long>(
|
||||
name: "SubjectID",
|
||||
table: "Comment",
|
||||
type: "bigint",
|
||||
nullable: false,
|
||||
defaultValue: 0L,
|
||||
oldClrType: typeof(long),
|
||||
oldType: "bigint",
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<long>(
|
||||
name: "SubjectID",
|
||||
table: "Assignment",
|
||||
type: "bigint",
|
||||
nullable: false,
|
||||
defaultValue: 0L,
|
||||
oldClrType: typeof(long),
|
||||
oldType: "bigint",
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Assignment_Subjects_SubjectID",
|
||||
table: "Assignment",
|
||||
column: "SubjectID",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Comment_Subjects_SubjectID",
|
||||
table: "Comment",
|
||||
column: "SubjectID",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_MinorExam_Subjects_SubjectID",
|
||||
table: "MinorExam",
|
||||
column: "SubjectID",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Assignment_Subjects_SubjectID",
|
||||
table: "Assignment");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Comment_Subjects_SubjectID",
|
||||
table: "Comment");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_MinorExam_Subjects_SubjectID",
|
||||
table: "MinorExam");
|
||||
|
||||
migrationBuilder.AlterColumn<long>(
|
||||
name: "SubjectID",
|
||||
table: "MinorExam",
|
||||
type: "bigint",
|
||||
nullable: true,
|
||||
oldClrType: typeof(long),
|
||||
oldType: "bigint");
|
||||
|
||||
migrationBuilder.AlterColumn<long>(
|
||||
name: "SubjectID",
|
||||
table: "Comment",
|
||||
type: "bigint",
|
||||
nullable: true,
|
||||
oldClrType: typeof(long),
|
||||
oldType: "bigint");
|
||||
|
||||
migrationBuilder.AlterColumn<long>(
|
||||
name: "SubjectID",
|
||||
table: "Assignment",
|
||||
type: "bigint",
|
||||
nullable: true,
|
||||
oldClrType: typeof(long),
|
||||
oldType: "bigint");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Assignment_Subjects_SubjectID",
|
||||
table: "Assignment",
|
||||
column: "SubjectID",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Comment_Subjects_SubjectID",
|
||||
table: "Comment",
|
||||
column: "SubjectID",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_MinorExam_Subjects_SubjectID",
|
||||
table: "MinorExam",
|
||||
column: "SubjectID",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
}
|
||||
}
|
175
Migrations/20201204185921_SubModelsUpdate2.Designer.cs
generated
175
Migrations/20201204185921_SubModelsUpdate2.Designer.cs
generated
@ -1,175 +0,0 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using StudyLib.API.Data;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
[DbContext(typeof(StudyLibContext))]
|
||||
[Migration("20201204185921_SubModelsUpdate2")]
|
||||
partial class SubModelsUpdate2
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.UseIdentityColumns()
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
||||
.HasAnnotation("ProductVersion", "5.0.0");
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Text")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Comments");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Deadline")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Assignments");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.MinorExam", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Date")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Scope")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("MinorExams");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("ExamDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("LabTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("LectureTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("MainExam")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.ToTable("Subjects");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Comments")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Tasks")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.MinorExam", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Tests")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Navigation("Comments");
|
||||
|
||||
b.Navigation("Tasks");
|
||||
|
||||
b.Navigation("Tests");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
@ -1,223 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
public partial class SubModelsUpdate2 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Assignment_Subjects_SubjectID",
|
||||
table: "Assignment");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Comment_Subjects_SubjectID",
|
||||
table: "Comment");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_MinorExam_Subjects_SubjectID",
|
||||
table: "MinorExam");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_MinorExam",
|
||||
table: "MinorExam");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_Comment",
|
||||
table: "Comment");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_Assignment",
|
||||
table: "Assignment");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "MinorExam",
|
||||
newName: "MinorExams");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "Comment",
|
||||
newName: "Comments");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "Assignment",
|
||||
newName: "Assignments");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "SubjectID",
|
||||
table: "MinorExams",
|
||||
newName: "SubjectId");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_MinorExam_SubjectID",
|
||||
table: "MinorExams",
|
||||
newName: "IX_MinorExams_SubjectId");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "SubjectID",
|
||||
table: "Comments",
|
||||
newName: "SubjectId");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_Comment_SubjectID",
|
||||
table: "Comments",
|
||||
newName: "IX_Comments_SubjectId");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "SubjectID",
|
||||
table: "Assignments",
|
||||
newName: "SubjectId");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_Assignment_SubjectID",
|
||||
table: "Assignments",
|
||||
newName: "IX_Assignments_SubjectId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_MinorExams",
|
||||
table: "MinorExams",
|
||||
column: "ID");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_Comments",
|
||||
table: "Comments",
|
||||
column: "ID");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_Assignments",
|
||||
table: "Assignments",
|
||||
column: "ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Assignments_Subjects_SubjectId",
|
||||
table: "Assignments",
|
||||
column: "SubjectId",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Comments_Subjects_SubjectId",
|
||||
table: "Comments",
|
||||
column: "SubjectId",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_MinorExams_Subjects_SubjectId",
|
||||
table: "MinorExams",
|
||||
column: "SubjectId",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Assignments_Subjects_SubjectId",
|
||||
table: "Assignments");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Comments_Subjects_SubjectId",
|
||||
table: "Comments");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_MinorExams_Subjects_SubjectId",
|
||||
table: "MinorExams");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_MinorExams",
|
||||
table: "MinorExams");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_Comments",
|
||||
table: "Comments");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_Assignments",
|
||||
table: "Assignments");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "MinorExams",
|
||||
newName: "MinorExam");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "Comments",
|
||||
newName: "Comment");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "Assignments",
|
||||
newName: "Assignment");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "SubjectId",
|
||||
table: "MinorExam",
|
||||
newName: "SubjectID");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_MinorExams_SubjectId",
|
||||
table: "MinorExam",
|
||||
newName: "IX_MinorExam_SubjectID");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "SubjectId",
|
||||
table: "Comment",
|
||||
newName: "SubjectID");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_Comments_SubjectId",
|
||||
table: "Comment",
|
||||
newName: "IX_Comment_SubjectID");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "SubjectId",
|
||||
table: "Assignment",
|
||||
newName: "SubjectID");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_Assignments_SubjectId",
|
||||
table: "Assignment",
|
||||
newName: "IX_Assignment_SubjectID");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_MinorExam",
|
||||
table: "MinorExam",
|
||||
column: "ID");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_Comment",
|
||||
table: "Comment",
|
||||
column: "ID");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_Assignment",
|
||||
table: "Assignment",
|
||||
column: "ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Assignment_Subjects_SubjectID",
|
||||
table: "Assignment",
|
||||
column: "SubjectID",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Comment_Subjects_SubjectID",
|
||||
table: "Comment",
|
||||
column: "SubjectID",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_MinorExam_Subjects_SubjectID",
|
||||
table: "MinorExam",
|
||||
column: "SubjectID",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,175 +0,0 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using StudyLib.API.Data;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
[DbContext(typeof(StudyLibContext))]
|
||||
[Migration("20201205182231_ChangedAssignmentsAndTestsNames")]
|
||||
partial class ChangedAssignmentsAndTestsNames
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.UseIdentityColumns()
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
||||
.HasAnnotation("ProductVersion", "5.0.0");
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Text")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Comments");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Deadline")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Assignments");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("ExamDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("LabTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("LectureTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("MainExam")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.ToTable("Subjects");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Test", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Date")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Scope")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("MinorExams");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Comments")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Assignments")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Test", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Tests")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Navigation("Assignments");
|
||||
|
||||
b.Navigation("Comments");
|
||||
|
||||
b.Navigation("Tests");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
public partial class ChangedAssignmentsAndTestsNames : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
175
Migrations/20201211232655_TestsChange.Designer.cs
generated
175
Migrations/20201211232655_TestsChange.Designer.cs
generated
@ -1,175 +0,0 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using StudyLib.API.Data;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
[DbContext(typeof(StudyLibContext))]
|
||||
[Migration("20201211232655_TestsChange")]
|
||||
partial class TestsChange
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.UseIdentityColumns()
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
||||
.HasAnnotation("ProductVersion", "5.0.0");
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Text")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Comments");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Deadline")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Assignments");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("ExamDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("LabTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("LectureTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("MainExam")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.ToTable("Subjects");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Test", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Date")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Scope")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Tests");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Comments")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Assignments")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Test", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Tests")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Navigation("Assignments");
|
||||
|
||||
b.Navigation("Comments");
|
||||
|
||||
b.Navigation("Tests");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
public partial class TestsChange : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_MinorExams_Subjects_SubjectId",
|
||||
table: "MinorExams");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_MinorExams",
|
||||
table: "MinorExams");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "MinorExams",
|
||||
newName: "Tests");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_MinorExams_SubjectId",
|
||||
table: "Tests",
|
||||
newName: "IX_Tests_SubjectId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_Tests",
|
||||
table: "Tests",
|
||||
column: "ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Tests_Subjects_SubjectId",
|
||||
table: "Tests",
|
||||
column: "SubjectId",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Tests_Subjects_SubjectId",
|
||||
table: "Tests");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_Tests",
|
||||
table: "Tests");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "Tests",
|
||||
newName: "MinorExams");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_Tests_SubjectId",
|
||||
table: "MinorExams",
|
||||
newName: "IX_MinorExams_SubjectId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_MinorExams",
|
||||
table: "MinorExams",
|
||||
column: "ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_MinorExams_Subjects_SubjectId",
|
||||
table: "MinorExams",
|
||||
column: "SubjectId",
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,203 +0,0 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using StudyLib.API.Data;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
[DbContext(typeof(StudyLibContext))]
|
||||
[Migration("20201212153903_SubjectDeleteRequests")]
|
||||
partial class SubjectDeleteRequests
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.UseIdentityColumns()
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
||||
.HasAnnotation("ProductVersion", "5.0.0");
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Text")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Comments");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.SubjectDeleteRequest", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("SubjectDeleteRequests");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Deadline")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Assignments");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("ExamDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("LabTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("LectureTeacher")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("MainExam")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.ToTable("Subjects");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Test", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.UseIdentityColumn();
|
||||
|
||||
b.Property<DateTime>("Date")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<double>("FinalMarkPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("Scope")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<long>("SubjectId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("SubjectId");
|
||||
|
||||
b.ToTable("Tests");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.Comment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Comments")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.SubjectDeleteRequest", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany()
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Assignments")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Test", b =>
|
||||
{
|
||||
b.HasOne("StudyLib.Models.Subject", "Subject")
|
||||
.WithMany("Tests")
|
||||
.HasForeignKey("SubjectId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Subject");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Subject", b =>
|
||||
{
|
||||
b.Navigation("Assignments");
|
||||
|
||||
b.Navigation("Comments");
|
||||
|
||||
b.Navigation("Tests");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
public partial class SubjectDeleteRequests : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "SubjectDeleteRequests",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
SubjectId = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_SubjectDeleteRequests", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_SubjectDeleteRequests_Subjects_SubjectId",
|
||||
column: x => x.SubjectId,
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_SubjectDeleteRequests_SubjectId",
|
||||
table: "SubjectDeleteRequests",
|
||||
column: "SubjectId");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "SubjectDeleteRequests");
|
||||
}
|
||||
}
|
||||
}
|
@ -10,8 +10,8 @@ using StudyLib.API.Data;
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
[DbContext(typeof(StudyLibContext))]
|
||||
[Migration("20201215203255_AddedUser")]
|
||||
partial class AddedUser
|
||||
[Migration("20201220111840_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
@ -72,71 +72,6 @@ namespace StudyLib.Migrations
|
||||
b.ToTable("AspNetRoleClaims");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUser", b =>
|
||||
{
|
||||
b.Property<string>("Id")
|
||||
.HasColumnType("nvarchar(450)");
|
||||
|
||||
b.Property<int>("AccessFailedCount")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("ConcurrencyStamp")
|
||||
.IsConcurrencyToken()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Email")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<bool>("EmailConfirmed")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("LockoutEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<DateTimeOffset?>("LockoutEnd")
|
||||
.HasColumnType("datetimeoffset");
|
||||
|
||||
b.Property<string>("NormalizedEmail")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<string>("NormalizedUserName")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<string>("PasswordHash")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("PhoneNumber")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("PhoneNumberConfirmed")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("SecurityStamp")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("TwoFactorEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("UserName")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("NormalizedEmail")
|
||||
.HasDatabaseName("EmailIndex");
|
||||
|
||||
b.HasIndex("NormalizedUserName")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("UserNameIndex")
|
||||
.HasFilter("[NormalizedUserName] IS NOT NULL");
|
||||
|
||||
b.ToTable("AspNetUsers");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
@ -259,6 +194,74 @@ namespace StudyLib.Migrations
|
||||
b.ToTable("SubjectDeleteRequests");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.User", b =>
|
||||
{
|
||||
b.Property<string>("Id")
|
||||
.HasColumnType("nvarchar(450)");
|
||||
|
||||
b.Property<int>("AccessFailedCount")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("ConcurrencyStamp")
|
||||
.IsConcurrencyToken()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Email")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<bool>("EmailConfirmed")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("FullName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("LockoutEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<DateTimeOffset?>("LockoutEnd")
|
||||
.HasColumnType("datetimeoffset");
|
||||
|
||||
b.Property<string>("NormalizedEmail")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<string>("NormalizedUserName")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<string>("PasswordHash")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("PhoneNumber")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("PhoneNumberConfirmed")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("SecurityStamp")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("TwoFactorEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("UserName")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("NormalizedEmail")
|
||||
.HasDatabaseName("EmailIndex");
|
||||
|
||||
b.HasIndex("NormalizedUserName")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("UserNameIndex")
|
||||
.HasFilter("[NormalizedUserName] IS NOT NULL");
|
||||
|
||||
b.ToTable("AspNetUsers");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
@ -356,7 +359,7 @@ namespace StudyLib.Migrations
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
|
||||
{
|
||||
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
|
||||
b.HasOne("StudyLib.API.Models.User", null)
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
@ -365,7 +368,7 @@ namespace StudyLib.Migrations
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
|
||||
{
|
||||
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
|
||||
b.HasOne("StudyLib.API.Models.User", null)
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
@ -380,7 +383,7 @@ namespace StudyLib.Migrations
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
|
||||
b.HasOne("StudyLib.API.Models.User", null)
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
@ -389,7 +392,7 @@ namespace StudyLib.Migrations
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b =>
|
||||
{
|
||||
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
|
||||
b.HasOne("StudyLib.API.Models.User", null)
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace StudyLib.Migrations
|
||||
{
|
||||
public partial class AddedUser : Migration
|
||||
public partial class Initial : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
@ -26,6 +26,7 @@ namespace StudyLib.Migrations
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<string>(type: "nvarchar(450)", nullable: false),
|
||||
FullName = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
UserName = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
|
||||
NormalizedUserName = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
|
||||
Email = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
|
||||
@ -46,6 +47,23 @@ namespace StudyLib.Migrations
|
||||
table.PrimaryKey("PK_AspNetUsers", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Subjects",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Name = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
LectureTeacher = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
LabTeacher = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
MainExam = table.Column<bool>(type: "bit", nullable: false),
|
||||
ExamDate = table.Column<DateTime>(type: "datetime2", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Subjects", x => x.ID);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AspNetRoleClaims",
|
||||
columns: table => new
|
||||
@ -152,6 +170,90 @@ namespace StudyLib.Migrations
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Assignments",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Name = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Deadline = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
Description = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
FinalMarkPercent = table.Column<double>(type: "float", nullable: false),
|
||||
SubjectId = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Assignments", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_Assignments_Subjects_SubjectId",
|
||||
column: x => x.SubjectId,
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Comments",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Text = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
SubjectId = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Comments", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_Comments_Subjects_SubjectId",
|
||||
column: x => x.SubjectId,
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "SubjectDeleteRequests",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
SubjectId = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_SubjectDeleteRequests", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_SubjectDeleteRequests_Subjects_SubjectId",
|
||||
column: x => x.SubjectId,
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Tests",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Date = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
Scope = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
FinalMarkPercent = table.Column<double>(type: "float", nullable: false),
|
||||
SubjectId = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Tests", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_Tests_Subjects_SubjectId",
|
||||
column: x => x.SubjectId,
|
||||
principalTable: "Subjects",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AspNetRoleClaims_RoleId",
|
||||
table: "AspNetRoleClaims",
|
||||
@ -190,6 +292,26 @@ namespace StudyLib.Migrations
|
||||
column: "NormalizedUserName",
|
||||
unique: true,
|
||||
filter: "[NormalizedUserName] IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Assignments_SubjectId",
|
||||
table: "Assignments",
|
||||
column: "SubjectId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Comments_SubjectId",
|
||||
table: "Comments",
|
||||
column: "SubjectId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_SubjectDeleteRequests_SubjectId",
|
||||
table: "SubjectDeleteRequests",
|
||||
column: "SubjectId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Tests_SubjectId",
|
||||
table: "Tests",
|
||||
column: "SubjectId");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
@ -209,11 +331,26 @@ namespace StudyLib.Migrations
|
||||
migrationBuilder.DropTable(
|
||||
name: "AspNetUserTokens");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "Assignments");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "Comments");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "SubjectDeleteRequests");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "Tests");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AspNetRoles");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AspNetUsers");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "Subjects");
|
||||
}
|
||||
}
|
||||
}
|
@ -70,71 +70,6 @@ namespace StudyLib.Migrations
|
||||
b.ToTable("AspNetRoleClaims");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUser", b =>
|
||||
{
|
||||
b.Property<string>("Id")
|
||||
.HasColumnType("nvarchar(450)");
|
||||
|
||||
b.Property<int>("AccessFailedCount")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("ConcurrencyStamp")
|
||||
.IsConcurrencyToken()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Email")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<bool>("EmailConfirmed")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<bool>("LockoutEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<DateTimeOffset?>("LockoutEnd")
|
||||
.HasColumnType("datetimeoffset");
|
||||
|
||||
b.Property<string>("NormalizedEmail")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<string>("NormalizedUserName")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<string>("PasswordHash")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("PhoneNumber")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("PhoneNumberConfirmed")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("SecurityStamp")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("TwoFactorEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("UserName")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("NormalizedEmail")
|
||||
.HasDatabaseName("EmailIndex");
|
||||
|
||||
b.HasIndex("NormalizedUserName")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("UserNameIndex")
|
||||
.HasFilter("[NormalizedUserName] IS NOT NULL");
|
||||
|
||||
b.ToTable("AspNetUsers");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
@ -257,6 +192,74 @@ namespace StudyLib.Migrations
|
||||
b.ToTable("SubjectDeleteRequests");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.API.Models.User", b =>
|
||||
{
|
||||
b.Property<string>("Id")
|
||||
.HasColumnType("nvarchar(450)");
|
||||
|
||||
b.Property<int>("AccessFailedCount")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("ConcurrencyStamp")
|
||||
.IsConcurrencyToken()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Email")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<bool>("EmailConfirmed")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("FullName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("LockoutEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<DateTimeOffset?>("LockoutEnd")
|
||||
.HasColumnType("datetimeoffset");
|
||||
|
||||
b.Property<string>("NormalizedEmail")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<string>("NormalizedUserName")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.Property<string>("PasswordHash")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("PhoneNumber")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("PhoneNumberConfirmed")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("SecurityStamp")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("TwoFactorEnabled")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("UserName")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("nvarchar(256)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("NormalizedEmail")
|
||||
.HasDatabaseName("EmailIndex");
|
||||
|
||||
b.HasIndex("NormalizedUserName")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("UserNameIndex")
|
||||
.HasFilter("[NormalizedUserName] IS NOT NULL");
|
||||
|
||||
b.ToTable("AspNetUsers");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("StudyLib.Models.Assignment", b =>
|
||||
{
|
||||
b.Property<long>("ID")
|
||||
@ -354,7 +357,7 @@ namespace StudyLib.Migrations
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
|
||||
{
|
||||
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
|
||||
b.HasOne("StudyLib.API.Models.User", null)
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
@ -363,7 +366,7 @@ namespace StudyLib.Migrations
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
|
||||
{
|
||||
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
|
||||
b.HasOne("StudyLib.API.Models.User", null)
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
@ -378,7 +381,7 @@ namespace StudyLib.Migrations
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
|
||||
b.HasOne("StudyLib.API.Models.User", null)
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
@ -387,7 +390,7 @@ namespace StudyLib.Migrations
|
||||
|
||||
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b =>
|
||||
{
|
||||
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
|
||||
b.HasOne("StudyLib.API.Models.User", null)
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -12,7 +12,7 @@
|
||||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "api/subjects",
|
||||
"launchUrl": "api/users",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
@ -20,7 +20,7 @@
|
||||
"StudyLib": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "api/subjects",
|
||||
"launchUrl": "api/users",
|
||||
"applicationUrl": "https://localhost:5001;http://localhost:5000",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
|
12
Startup.cs
12
Startup.cs
@ -10,6 +10,7 @@ using Microsoft.IdentityModel.Tokens;
|
||||
using Newtonsoft.Json;
|
||||
using StudyLib.API.Data;
|
||||
using StudyLib.API.Models;
|
||||
using System;
|
||||
using System.Text;
|
||||
|
||||
namespace StudyLib
|
||||
@ -49,22 +50,21 @@ namespace StudyLib
|
||||
.AddJwtBearer(options =>
|
||||
{
|
||||
options.RequireHttpsMetadata = false;
|
||||
options.SaveToken = false;
|
||||
options.SaveToken = true;
|
||||
|
||||
options.TokenValidationParameters = new TokenValidationParameters
|
||||
{
|
||||
ValidateIssuer = true,
|
||||
ValidateAudience = true,
|
||||
ValidateIssuer = false,
|
||||
ValidateAudience = false,
|
||||
ValidateLifetime = true,
|
||||
ValidateIssuerSigningKey = true,
|
||||
ValidIssuer = "http://localhost:5000",
|
||||
ValidAudience = "http://localhost:5000",
|
||||
ClockSkew = TimeSpan.Zero,
|
||||
IssuerSigningKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(Configuration["ApplicationSettings:JWTSecret"].ToString()))
|
||||
};
|
||||
});
|
||||
services.AddDbContext<StudyLibContext>(options =>
|
||||
options.UseSqlServer(Configuration.GetConnectionString("StudyLibContext")));
|
||||
services.AddDefaultIdentity<IdentityUser>(options => options.SignIn.RequireConfirmedAccount = true).AddEntityFrameworkStores<StudyLibContext>();
|
||||
services.AddDefaultIdentity<User>(options => options.SignIn.RequireConfirmedAccount = true).AddEntityFrameworkStores<StudyLibContext>();
|
||||
services.Configure<IdentityOptions>(options =>
|
||||
{
|
||||
options.Password.RequireDigit = false;
|
||||
|
@ -22,5 +22,9 @@
|
||||
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="5.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Migrations\" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
</Project>
|
||||
|
@ -1,3 +1,3 @@
|
||||
<StaticWebAssets Version="1.0">
|
||||
<ContentRoot BasePath="/Identity" Path="C:\Users\Jakub\.nuget\packages\microsoft.aspnetcore.identity.ui\5.0.0\staticwebassets\V4\" />
|
||||
<ContentRoot BasePath="/Identity" Path="C:\Users\Kuba\.nuget\packages\microsoft.aspnetcore.identity.ui\5.0.0\staticwebassets\V4\" />
|
||||
</StaticWebAssets>
|
@ -1402,7 +1402,11 @@
|
||||
"System.Threading.Tasks": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Collections.Immutable/5.0.0": {},
|
||||
"System.Collections.Immutable/5.0.0": {
|
||||
"compile": {
|
||||
"lib/netstandard2.0/System.Collections.Immutable.dll": {}
|
||||
}
|
||||
},
|
||||
"System.Collections.NonGeneric/4.3.0": {
|
||||
"dependencies": {
|
||||
"System.Diagnostics.Debug": "4.3.0",
|
||||
@ -1429,7 +1433,11 @@
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.ComponentModel.Annotations/5.0.0": {},
|
||||
"System.ComponentModel.Annotations/5.0.0": {
|
||||
"compile": {
|
||||
"ref/netstandard2.1/System.ComponentModel.Annotations.dll": {}
|
||||
}
|
||||
},
|
||||
"System.ComponentModel.Primitives/4.3.0": {
|
||||
"dependencies": {
|
||||
"System.ComponentModel": "4.3.0",
|
||||
@ -1598,7 +1606,11 @@
|
||||
"System.Runtime": "4.3.0"
|
||||
}
|
||||
},
|
||||
"System.Diagnostics.DiagnosticSource/5.0.0": {},
|
||||
"System.Diagnostics.DiagnosticSource/5.0.0": {
|
||||
"compile": {
|
||||
"lib/net5.0/System.Diagnostics.DiagnosticSource.dll": {}
|
||||
}
|
||||
},
|
||||
"System.Diagnostics.Tools/4.3.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,9 +1,8 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\Jakub\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages",
|
||||
"C:\\Microsoft\\Xamarin\\NuGet"
|
||||
"C:\\Users\\Kuba\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages"
|
||||
]
|
||||
}
|
||||
}
|
@ -8,7 +8,7 @@
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"ConnectionStrings": {
|
||||
"StudyLibContext": "Server=DESKTOP-ON3C0C0;Database=StudyLibDB;Trusted_Connection=True;MultipleActiveResultSets=true"
|
||||
"StudyLibContext": "Server=DESKTOP-VC7B1FD;Database=StudyLibDB;Trusted_Connection=True;MultipleActiveResultSets=true",
|
||||
},
|
||||
"ApplicationSettings": {
|
||||
"JWTSecret": "1234567890123456789"
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
cad587a26be2f59d59cfa39d053b6ddeb9041049
|
||||
fe729000b955e513eea29f2e3a68726f74652572
|
||||
|
@ -460,3 +460,161 @@ E:\Studia\Pracownia programowania\git\study-lib-backend\bin\Debug\net5.0\Microso
|
||||
E:\Studia\Pracownia programowania\git\study-lib-backend\bin\Debug\net5.0\Microsoft.AspNetCore.Identity.UI.Views.V4.dll
|
||||
E:\Studia\Pracownia programowania\git\study-lib-backend\bin\Debug\net5.0\Microsoft.AspNetCore.Identity.UI.dll
|
||||
E:\Studia\Pracownia programowania\git\study-lib-backend\obj\Debug\net5.0\StudyLib.MvcApplicationPartsAssemblyInfo.cs
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\appsettings.Development.json
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\appsettings.json
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\StudyLib.StaticWebAssets.xml
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\StudyLib.exe
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\StudyLib.deps.json
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\StudyLib.runtimeconfig.json
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\StudyLib.runtimeconfig.dev.json
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\StudyLib.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ref\StudyLib.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\StudyLib.pdb
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Humanizer.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.AspNetCore.Authentication.JwtBearer.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.AspNetCore.Identity.UI.Views.V4.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.AspNetCore.Identity.UI.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.AspNetCore.JsonPatch.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.AspNetCore.Razor.Language.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.Bcl.AsyncInterfaces.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.CodeAnalysis.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.CodeAnalysis.CSharp.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.CodeAnalysis.CSharp.Workspaces.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.CodeAnalysis.Razor.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.CodeAnalysis.Workspaces.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.Data.SqlClient.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.Data.Sqlite.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.DotNet.PlatformAbstractions.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.EntityFrameworkCore.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.EntityFrameworkCore.Abstractions.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.EntityFrameworkCore.Design.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.EntityFrameworkCore.Relational.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.EntityFrameworkCore.Sqlite.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.EntityFrameworkCore.SqlServer.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.Extensions.DependencyModel.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.Identity.Client.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.IdentityModel.JsonWebTokens.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.IdentityModel.Logging.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.IdentityModel.Protocols.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.IdentityModel.Tokens.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.VisualStudio.Web.CodeGeneration.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.VisualStudio.Web.CodeGeneration.Contracts.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.VisualStudio.Web.CodeGeneration.Core.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\dotnet-aspnet-codegenerator-design.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.VisualStudio.Web.CodeGeneration.Templating.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.VisualStudio.Web.CodeGeneration.Utils.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Microsoft.VisualStudio.Web.CodeGenerators.Mvc.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Newtonsoft.Json.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\Newtonsoft.Json.Bson.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\SQLitePCLRaw.batteries_v2.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\SQLitePCLRaw.nativelibrary.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\SQLitePCLRaw.core.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\SQLitePCLRaw.provider.dynamic_cdecl.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\System.Composition.AttributedModel.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\System.Composition.Convention.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\System.Composition.Hosting.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\System.Composition.Runtime.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\System.Composition.TypedParts.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\System.Configuration.ConfigurationManager.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\System.IdentityModel.Tokens.Jwt.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\System.Runtime.Caching.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\System.Security.Cryptography.ProtectedData.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\cs\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\de\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\es\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\fr\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\it\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ja\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ko\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\pl\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\pt-BR\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ru\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\tr\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\zh-Hans\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\zh-Hant\Microsoft.CodeAnalysis.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\cs\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\de\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\es\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\fr\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\it\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ja\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ko\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\pl\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\pt-BR\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ru\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\tr\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\zh-Hans\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\zh-Hant\Microsoft.CodeAnalysis.CSharp.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\cs\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\de\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\es\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\fr\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\it\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ja\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ko\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\pl\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\pt-BR\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ru\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\tr\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\zh-Hans\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\zh-Hant\Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\cs\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\de\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\es\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\fr\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\it\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ja\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ko\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\pl\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\pt-BR\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\ru\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\tr\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\zh-Hans\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\zh-Hant\Microsoft.CodeAnalysis.Workspaces.resources.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.pdb
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.pdb
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.pdb
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.pdb
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-arm\lib\net5.0\dotnet-aspnet-codegenerator-design.exe
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-arm64\lib\net5.0\dotnet-aspnet-codegenerator-design.exe
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\alpine-x64\native\libe_sqlite3.so
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\linux-arm\native\libe_sqlite3.so
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\linux-arm64\native\libe_sqlite3.so
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\linux-armel\native\libe_sqlite3.so
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\linux-mips64\native\libe_sqlite3.so
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\linux-musl-x64\native\libe_sqlite3.so
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\linux-x64\native\libe_sqlite3.so
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\linux-x86\native\libe_sqlite3.so
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\osx-x64\native\libe_sqlite3.dylib
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-arm\native\e_sqlite3.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-arm64\native\e_sqlite3.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-x64\native\e_sqlite3.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win-x86\native\e_sqlite3.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll
|
||||
E:\pp-git\study-lib-backend\bin\Debug\net5.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.csprojAssemblyReference.cache
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.GeneratedMSBuildEditorConfig.editorconfig
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.AssemblyInfoInputs.cache
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.AssemblyInfo.cs
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.csproj.CoreCompileInputs.cache
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.MvcApplicationPartsAssemblyInfo.cs
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.MvcApplicationPartsAssemblyInfo.cache
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\staticwebassets\StudyLib.StaticWebAssets.Manifest.cache
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\staticwebassets\StudyLib.StaticWebAssets.xml
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\scopedcss\bundle\StudyLib.styles.css
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.RazorTargetAssemblyInfo.cache
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.csproj.CopyComplete
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.dll
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\ref\StudyLib.dll
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.pdb
|
||||
E:\pp-git\study-lib-backend\obj\Debug\net5.0\StudyLib.genruntimeconfig.cache
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
5dd59cef0f52a9f8f628e32200c736d593f6d62d
|
||||
8e40c1b49c031ffc22417d7b3de1c41361366917
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
6c5d918e2f907c1c65ee70765a909593a5ad1f93
|
||||
190106dc424593566dc8ca7be50e654f5eab9aee
|
||||
|
@ -1,3 +1,3 @@
|
||||
<StaticWebAssets Version="1.0">
|
||||
<ContentRoot BasePath="/Identity" Path="C:\Users\Jakub\.nuget\packages\microsoft.aspnetcore.identity.ui\5.0.0\staticwebassets\V4\" />
|
||||
<ContentRoot BasePath="/Identity" Path="C:\Users\Kuba\.nuget\packages\microsoft.aspnetcore.identity.ui\5.0.0\staticwebassets\V4\" />
|
||||
</StaticWebAssets>
|
@ -1,25 +1,21 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"E:\\Studia\\Pracownia programowania\\git\\study-lib-backend\\StudyLib.csproj": {}
|
||||
"E:\\pp-git\\study-lib-backend\\StudyLib.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"E:\\Studia\\Pracownia programowania\\git\\study-lib-backend\\StudyLib.csproj": {
|
||||
"E:\\pp-git\\study-lib-backend\\StudyLib.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "E:\\Studia\\Pracownia programowania\\git\\study-lib-backend\\StudyLib.csproj",
|
||||
"projectUniqueName": "E:\\pp-git\\study-lib-backend\\StudyLib.csproj",
|
||||
"projectName": "StudyLib",
|
||||
"projectPath": "E:\\Studia\\Pracownia programowania\\git\\study-lib-backend\\StudyLib.csproj",
|
||||
"packagesPath": "C:\\Users\\Jakub\\.nuget\\packages\\",
|
||||
"outputPath": "E:\\Studia\\Pracownia programowania\\git\\study-lib-backend\\obj\\",
|
||||
"projectPath": "E:\\pp-git\\study-lib-backend\\StudyLib.csproj",
|
||||
"packagesPath": "C:\\Users\\Kuba\\.nuget\\packages\\",
|
||||
"outputPath": "E:\\pp-git\\study-lib-backend\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Jakub\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
"C:\\Users\\Kuba\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net5.0"
|
||||
@ -113,7 +109,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.101\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.100\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Jakub\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Kuba\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.8.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
@ -20,7 +20,7 @@
|
||||
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.0\buildTransitive\Microsoft.AspNetCore.Identity.UI.props" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.0\buildTransitive\Microsoft.AspNetCore.Identity.UI.props')" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">C:\Users\Jakub\.nuget\packages\microsoft.codeanalysis.analyzers\3.0.0</PkgMicrosoft_CodeAnalysis_Analyzers>
|
||||
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\Jakub\.nuget\packages\microsoft.entityframeworkcore.tools\5.0.0</PkgMicrosoft_EntityFrameworkCore_Tools>
|
||||
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">C:\Users\Kuba\.nuget\packages\microsoft.codeanalysis.analyzers\3.0.0</PkgMicrosoft_CodeAnalysis_Analyzers>
|
||||
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\Kuba\.nuget\packages\microsoft.entityframeworkcore.tools\5.0.0</PkgMicrosoft_EntityFrameworkCore_Tools>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -7832,25 +7832,20 @@
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\": {},
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\": {}
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "E:\\Studia\\Pracownia programowania\\git\\study-lib-backend\\StudyLib.csproj",
|
||||
"projectUniqueName": "E:\\pp-git\\study-lib-backend\\StudyLib.csproj",
|
||||
"projectName": "StudyLib",
|
||||
"projectPath": "E:\\Studia\\Pracownia programowania\\git\\study-lib-backend\\StudyLib.csproj",
|
||||
"packagesPath": "C:\\Users\\Jakub\\.nuget\\packages\\",
|
||||
"outputPath": "E:\\Studia\\Pracownia programowania\\git\\study-lib-backend\\obj\\",
|
||||
"projectPath": "E:\\pp-git\\study-lib-backend\\StudyLib.csproj",
|
||||
"packagesPath": "C:\\Users\\Kuba\\.nuget\\packages\\",
|
||||
"outputPath": "E:\\pp-git\\study-lib-backend\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Jakub\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
"C:\\Users\\Kuba\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net5.0"
|
||||
@ -7944,7 +7939,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.101\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.100\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,154 +1,154 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "FL12xMdG+/mtr7L34fObk3bKBDB8NPrz2WT5ZXGFHACN3fczKcU191HzVWoM8tQhEg9Lujo1AjS8tlM+UAAHXA==",
|
||||
"dgSpecHash": "mmJZ59mwEcX1v3AW793OoipYsJ3V4y9u/KtEqsOtGw0/vfmQ4oDEzQmPX7w+O2idL6VHFrMidjw3rgfrJeaHBg==",
|
||||
"success": true,
|
||||
"projectFilePath": "E:\\Studia\\Pracownia programowania\\git\\study-lib-backend\\StudyLib.csproj",
|
||||
"projectFilePath": "E:\\pp-git\\study-lib-backend\\StudyLib.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.authentication.jwtbearer\\5.0.0\\microsoft.aspnetcore.authentication.jwtbearer.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.cryptography.internal\\5.0.0\\microsoft.aspnetcore.cryptography.internal.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.cryptography.keyderivation\\5.0.0\\microsoft.aspnetcore.cryptography.keyderivation.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.html.abstractions\\2.2.0\\microsoft.aspnetcore.html.abstractions.2.2.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.identity.entityframeworkcore\\5.0.0\\microsoft.aspnetcore.identity.entityframeworkcore.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.identity.ui\\5.0.0\\microsoft.aspnetcore.identity.ui.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\5.0.0\\microsoft.aspnetcore.jsonpatch.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.mvc.newtonsoftjson\\5.0.0\\microsoft.aspnetcore.mvc.newtonsoftjson.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.razor\\2.2.0\\microsoft.aspnetcore.razor.2.2.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.razor.language\\5.0.0\\microsoft.aspnetcore.razor.language.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.aspnetcore.razor.runtime\\2.2.0\\microsoft.aspnetcore.razor.runtime.2.2.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.1.0\\microsoft.bcl.asyncinterfaces.1.1.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.codeanalysis.analyzers\\3.0.0\\microsoft.codeanalysis.analyzers.3.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.codeanalysis.common\\3.7.0\\microsoft.codeanalysis.common.3.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.codeanalysis.csharp\\3.7.0\\microsoft.codeanalysis.csharp.3.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.codeanalysis.csharp.workspaces\\3.7.0\\microsoft.codeanalysis.csharp.workspaces.3.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.codeanalysis.razor\\5.0.0\\microsoft.codeanalysis.razor.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.codeanalysis.workspaces.common\\3.7.0\\microsoft.codeanalysis.workspaces.common.3.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.data.sqlclient\\2.0.1\\microsoft.data.sqlclient.2.0.1.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\2.0.1\\microsoft.data.sqlclient.sni.runtime.2.0.1.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.data.sqlite.core\\5.0.0\\microsoft.data.sqlite.core.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.dotnet.platformabstractions\\3.1.6\\microsoft.dotnet.platformabstractions.3.1.6.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.entityframeworkcore\\5.0.0\\microsoft.entityframeworkcore.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\5.0.0\\microsoft.entityframeworkcore.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\5.0.0\\microsoft.entityframeworkcore.analyzers.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.entityframeworkcore.design\\5.0.0\\microsoft.entityframeworkcore.design.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\5.0.0\\microsoft.entityframeworkcore.relational.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite\\5.0.0\\microsoft.entityframeworkcore.sqlite.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite.core\\5.0.0\\microsoft.entityframeworkcore.sqlite.core.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\5.0.0\\microsoft.entityframeworkcore.sqlserver.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\5.0.0\\microsoft.entityframeworkcore.tools.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\5.0.0\\microsoft.extensions.caching.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.caching.memory\\5.0.0\\microsoft.extensions.caching.memory.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\5.0.0\\microsoft.extensions.configuration.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\5.0.0\\microsoft.extensions.dependencyinjection.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\5.0.0\\microsoft.extensions.dependencyinjection.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.dependencymodel\\5.0.0\\microsoft.extensions.dependencymodel.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\5.0.0\\microsoft.extensions.fileproviders.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.fileproviders.embedded\\5.0.0\\microsoft.extensions.fileproviders.embedded.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.identity.core\\5.0.0\\microsoft.extensions.identity.core.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.identity.stores\\5.0.0\\microsoft.extensions.identity.stores.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.logging\\5.0.0\\microsoft.extensions.logging.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\5.0.0\\microsoft.extensions.logging.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.options\\5.0.0\\microsoft.extensions.options.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.extensions.primitives\\5.0.0\\microsoft.extensions.primitives.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.identity.client\\4.14.0\\microsoft.identity.client.4.14.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\6.7.1\\microsoft.identitymodel.jsonwebtokens.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.identitymodel.logging\\6.7.1\\microsoft.identitymodel.logging.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.identitymodel.protocols\\6.7.1\\microsoft.identitymodel.protocols.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.identitymodel.protocols.openidconnect\\6.7.1\\microsoft.identitymodel.protocols.openidconnect.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.identitymodel.tokens\\6.7.1\\microsoft.identitymodel.tokens.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.netcore.targets\\1.1.3\\microsoft.netcore.targets.1.1.3.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration\\5.0.0\\microsoft.visualstudio.web.codegeneration.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.contracts\\5.0.0\\microsoft.visualstudio.web.codegeneration.contracts.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.core\\5.0.0\\microsoft.visualstudio.web.codegeneration.core.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.design\\5.0.0\\microsoft.visualstudio.web.codegeneration.design.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.entityframeworkcore\\5.0.0\\microsoft.visualstudio.web.codegeneration.entityframeworkcore.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.templating\\5.0.0\\microsoft.visualstudio.web.codegeneration.templating.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.utils\\5.0.0\\microsoft.visualstudio.web.codegeneration.utils.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.visualstudio.web.codegenerators.mvc\\5.0.0\\microsoft.visualstudio.web.codegenerators.mvc.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\microsoft.win32.systemevents\\4.7.0\\microsoft.win32.systemevents.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\newtonsoft.json\\12.0.2\\newtonsoft.json.12.0.2.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\newtonsoft.json.bson\\1.0.2\\newtonsoft.json.bson.1.0.2.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\sqlitepclraw.bundle_e_sqlite3\\2.0.4\\sqlitepclraw.bundle_e_sqlite3.2.0.4.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\sqlitepclraw.core\\2.0.4\\sqlitepclraw.core.2.0.4.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\sqlitepclraw.lib.e_sqlite3\\2.0.4\\sqlitepclraw.lib.e_sqlite3.2.0.4.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\sqlitepclraw.provider.dynamic_cdecl\\2.0.4\\sqlitepclraw.provider.dynamic_cdecl.2.0.4.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.collections.immutable\\5.0.0\\system.collections.immutable.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.collections.nongeneric\\4.3.0\\system.collections.nongeneric.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.collections.specialized\\4.3.0\\system.collections.specialized.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.componentmodel\\4.3.0\\system.componentmodel.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.componentmodel.annotations\\5.0.0\\system.componentmodel.annotations.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.componentmodel.primitives\\4.3.0\\system.componentmodel.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.componentmodel.typeconverter\\4.3.0\\system.componentmodel.typeconverter.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.composition\\1.0.31\\system.composition.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.composition.attributedmodel\\1.0.31\\system.composition.attributedmodel.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.composition.convention\\1.0.31\\system.composition.convention.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.composition.hosting\\1.0.31\\system.composition.hosting.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.composition.runtime\\1.0.31\\system.composition.runtime.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.composition.typedparts\\1.0.31\\system.composition.typedparts.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.configuration.configurationmanager\\4.7.0\\system.configuration.configurationmanager.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.diagnostics.diagnosticsource\\5.0.0\\system.diagnostics.diagnosticsource.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.diagnostics.tools\\4.3.0\\system.diagnostics.tools.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.drawing.common\\4.7.0\\system.drawing.common.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\system.globalization.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.identitymodel.tokens.jwt\\6.7.1\\system.identitymodel.tokens.jwt.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\system.io.filesystem.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.linq.expressions\\4.3.0\\system.linq.expressions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.memory\\4.5.4\\system.memory.4.5.4.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.net.nameresolution\\4.3.0\\system.net.nameresolution.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.objectmodel\\4.3.0\\system.objectmodel.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.private.datacontractserialization\\4.3.0\\system.private.datacontractserialization.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.private.uri\\4.3.2\\system.private.uri.4.3.2.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.reflection.emit\\4.3.0\\system.reflection.emit.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.reflection.emit.ilgeneration\\4.3.0\\system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.reflection.emit.lightweight\\4.3.0\\system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.reflection.metadata\\1.6.0\\system.reflection.metadata.1.6.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.reflection.typeextensions\\4.3.0\\system.reflection.typeextensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.runtime.caching\\4.7.0\\system.runtime.caching.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.7.0\\system.runtime.compilerservices.unsafe.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.runtime.serialization.formatters\\4.3.0\\system.runtime.serialization.formatters.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.runtime.serialization.json\\4.3.0\\system.runtime.serialization.json.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.runtime.serialization.primitives\\4.3.0\\system.runtime.serialization.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.security.cryptography.cng\\4.5.0\\system.security.cryptography.cng.4.5.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.7.0\\system.security.cryptography.protecteddata.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.security.permissions\\4.7.0\\system.security.permissions.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.security.securestring\\4.3.0\\system.security.securestring.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.text.encoding.codepages\\4.7.0\\system.text.encoding.codepages.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.text.encodings.web\\4.5.0\\system.text.encodings.web.4.5.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.3\\system.threading.tasks.extensions.4.5.3.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.xml.xmldocument\\4.3.0\\system.xml.xmldocument.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Jakub\\.nuget\\packages\\system.xml.xmlserializer\\4.3.0\\system.xml.xmlserializer.4.3.0.nupkg.sha512"
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.authentication.jwtbearer\\5.0.0\\microsoft.aspnetcore.authentication.jwtbearer.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.cryptography.internal\\5.0.0\\microsoft.aspnetcore.cryptography.internal.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.cryptography.keyderivation\\5.0.0\\microsoft.aspnetcore.cryptography.keyderivation.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.html.abstractions\\2.2.0\\microsoft.aspnetcore.html.abstractions.2.2.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.identity.entityframeworkcore\\5.0.0\\microsoft.aspnetcore.identity.entityframeworkcore.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.identity.ui\\5.0.0\\microsoft.aspnetcore.identity.ui.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\5.0.0\\microsoft.aspnetcore.jsonpatch.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.mvc.newtonsoftjson\\5.0.0\\microsoft.aspnetcore.mvc.newtonsoftjson.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.razor\\2.2.0\\microsoft.aspnetcore.razor.2.2.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.razor.language\\5.0.0\\microsoft.aspnetcore.razor.language.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.aspnetcore.razor.runtime\\2.2.0\\microsoft.aspnetcore.razor.runtime.2.2.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.1.0\\microsoft.bcl.asyncinterfaces.1.1.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.codeanalysis.analyzers\\3.0.0\\microsoft.codeanalysis.analyzers.3.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.codeanalysis.common\\3.7.0\\microsoft.codeanalysis.common.3.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.codeanalysis.csharp\\3.7.0\\microsoft.codeanalysis.csharp.3.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.codeanalysis.csharp.workspaces\\3.7.0\\microsoft.codeanalysis.csharp.workspaces.3.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.codeanalysis.razor\\5.0.0\\microsoft.codeanalysis.razor.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.codeanalysis.workspaces.common\\3.7.0\\microsoft.codeanalysis.workspaces.common.3.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.data.sqlclient\\2.0.1\\microsoft.data.sqlclient.2.0.1.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\2.0.1\\microsoft.data.sqlclient.sni.runtime.2.0.1.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.data.sqlite.core\\5.0.0\\microsoft.data.sqlite.core.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.dotnet.platformabstractions\\3.1.6\\microsoft.dotnet.platformabstractions.3.1.6.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.entityframeworkcore\\5.0.0\\microsoft.entityframeworkcore.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\5.0.0\\microsoft.entityframeworkcore.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\5.0.0\\microsoft.entityframeworkcore.analyzers.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.entityframeworkcore.design\\5.0.0\\microsoft.entityframeworkcore.design.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\5.0.0\\microsoft.entityframeworkcore.relational.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite\\5.0.0\\microsoft.entityframeworkcore.sqlite.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite.core\\5.0.0\\microsoft.entityframeworkcore.sqlite.core.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\5.0.0\\microsoft.entityframeworkcore.sqlserver.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\5.0.0\\microsoft.entityframeworkcore.tools.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\5.0.0\\microsoft.extensions.caching.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.caching.memory\\5.0.0\\microsoft.extensions.caching.memory.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\5.0.0\\microsoft.extensions.configuration.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\5.0.0\\microsoft.extensions.dependencyinjection.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\5.0.0\\microsoft.extensions.dependencyinjection.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.dependencymodel\\5.0.0\\microsoft.extensions.dependencymodel.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\5.0.0\\microsoft.extensions.fileproviders.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.fileproviders.embedded\\5.0.0\\microsoft.extensions.fileproviders.embedded.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.identity.core\\5.0.0\\microsoft.extensions.identity.core.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.identity.stores\\5.0.0\\microsoft.extensions.identity.stores.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.logging\\5.0.0\\microsoft.extensions.logging.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\5.0.0\\microsoft.extensions.logging.abstractions.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.options\\5.0.0\\microsoft.extensions.options.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.extensions.primitives\\5.0.0\\microsoft.extensions.primitives.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.identity.client\\4.14.0\\microsoft.identity.client.4.14.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\6.7.1\\microsoft.identitymodel.jsonwebtokens.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.identitymodel.logging\\6.7.1\\microsoft.identitymodel.logging.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.identitymodel.protocols\\6.7.1\\microsoft.identitymodel.protocols.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.identitymodel.protocols.openidconnect\\6.7.1\\microsoft.identitymodel.protocols.openidconnect.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.identitymodel.tokens\\6.7.1\\microsoft.identitymodel.tokens.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.netcore.targets\\1.1.3\\microsoft.netcore.targets.1.1.3.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration\\5.0.0\\microsoft.visualstudio.web.codegeneration.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.contracts\\5.0.0\\microsoft.visualstudio.web.codegeneration.contracts.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.core\\5.0.0\\microsoft.visualstudio.web.codegeneration.core.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.design\\5.0.0\\microsoft.visualstudio.web.codegeneration.design.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.entityframeworkcore\\5.0.0\\microsoft.visualstudio.web.codegeneration.entityframeworkcore.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.templating\\5.0.0\\microsoft.visualstudio.web.codegeneration.templating.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.visualstudio.web.codegeneration.utils\\5.0.0\\microsoft.visualstudio.web.codegeneration.utils.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.visualstudio.web.codegenerators.mvc\\5.0.0\\microsoft.visualstudio.web.codegenerators.mvc.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\microsoft.win32.systemevents\\4.7.0\\microsoft.win32.systemevents.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\newtonsoft.json\\12.0.2\\newtonsoft.json.12.0.2.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\newtonsoft.json.bson\\1.0.2\\newtonsoft.json.bson.1.0.2.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\sqlitepclraw.bundle_e_sqlite3\\2.0.4\\sqlitepclraw.bundle_e_sqlite3.2.0.4.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\sqlitepclraw.core\\2.0.4\\sqlitepclraw.core.2.0.4.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\sqlitepclraw.lib.e_sqlite3\\2.0.4\\sqlitepclraw.lib.e_sqlite3.2.0.4.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\sqlitepclraw.provider.dynamic_cdecl\\2.0.4\\sqlitepclraw.provider.dynamic_cdecl.2.0.4.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.collections.immutable\\5.0.0\\system.collections.immutable.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.collections.nongeneric\\4.3.0\\system.collections.nongeneric.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.collections.specialized\\4.3.0\\system.collections.specialized.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.componentmodel\\4.3.0\\system.componentmodel.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.componentmodel.annotations\\5.0.0\\system.componentmodel.annotations.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.componentmodel.primitives\\4.3.0\\system.componentmodel.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.componentmodel.typeconverter\\4.3.0\\system.componentmodel.typeconverter.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.composition\\1.0.31\\system.composition.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.composition.attributedmodel\\1.0.31\\system.composition.attributedmodel.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.composition.convention\\1.0.31\\system.composition.convention.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.composition.hosting\\1.0.31\\system.composition.hosting.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.composition.runtime\\1.0.31\\system.composition.runtime.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.composition.typedparts\\1.0.31\\system.composition.typedparts.1.0.31.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.configuration.configurationmanager\\4.7.0\\system.configuration.configurationmanager.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.diagnostics.diagnosticsource\\5.0.0\\system.diagnostics.diagnosticsource.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.diagnostics.tools\\4.3.0\\system.diagnostics.tools.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.drawing.common\\4.7.0\\system.drawing.common.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\system.globalization.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.identitymodel.tokens.jwt\\6.7.1\\system.identitymodel.tokens.jwt.6.7.1.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\system.io.filesystem.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.linq.expressions\\4.3.0\\system.linq.expressions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.memory\\4.5.4\\system.memory.4.5.4.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.net.nameresolution\\4.3.0\\system.net.nameresolution.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.objectmodel\\4.3.0\\system.objectmodel.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.private.datacontractserialization\\4.3.0\\system.private.datacontractserialization.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.private.uri\\4.3.2\\system.private.uri.4.3.2.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.reflection.emit\\4.3.0\\system.reflection.emit.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.reflection.emit.ilgeneration\\4.3.0\\system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.reflection.emit.lightweight\\4.3.0\\system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.reflection.metadata\\1.6.0\\system.reflection.metadata.1.6.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.reflection.typeextensions\\4.3.0\\system.reflection.typeextensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.runtime.caching\\4.7.0\\system.runtime.caching.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.7.0\\system.runtime.compilerservices.unsafe.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.runtime.serialization.formatters\\4.3.0\\system.runtime.serialization.formatters.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.runtime.serialization.json\\4.3.0\\system.runtime.serialization.json.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.runtime.serialization.primitives\\4.3.0\\system.runtime.serialization.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.security.cryptography.cng\\4.5.0\\system.security.cryptography.cng.4.5.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.7.0\\system.security.cryptography.protecteddata.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.security.permissions\\4.7.0\\system.security.permissions.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.security.securestring\\4.3.0\\system.security.securestring.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.text.encoding.codepages\\4.7.0\\system.text.encoding.codepages.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.text.encodings.web\\4.5.0\\system.text.encodings.web.4.5.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.3\\system.threading.tasks.extensions.4.5.3.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.xml.xmldocument\\4.3.0\\system.xml.xmldocument.4.3.0.nupkg.sha512",
|
||||
"C:\\Users\\Kuba\\.nuget\\packages\\system.xml.xmlserializer\\4.3.0\\system.xml.xmlserializer.4.3.0.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
Loading…
Reference in New Issue
Block a user