#407 db migration
This commit is contained in:
parent
abc6b85efc
commit
88966016d4
5208
RMuseum/Migrations/20230809110507_OCRQ.Designer.cs
generated
Normal file
5208
RMuseum/Migrations/20230809110507_OCRQ.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
34
RMuseum/Migrations/20230809110507_OCRQ.cs
Normal file
34
RMuseum/Migrations/20230809110507_OCRQ.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class OCRQ : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "OCRQueuedItems",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(type: "int", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
PDFBookId = table.Column<int>(type: "int", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_OCRQueuedItems", x => x.Id);
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "OCRQueuedItems");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3132,6 +3132,22 @@ namespace RMuseum.Migrations
|
||||
b.ToTable("MultiVolumePDFCollections");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("RMuseum.Models.PDFLibrary.OCRQueue", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<int>("PDFBookId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("OCRQueuedItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("RMuseum.Models.PDFLibrary.PDFBook", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
|
||||
@ -3900,6 +3900,18 @@
|
||||
<member name="M:RMuseum.Migrations.OCR.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Migrations.OCRQ">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.OCRQ.Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.OCRQ.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.OCRQ.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Accounting.DonationExpenditure">
|
||||
<summary>
|
||||
donation expenditures
|
||||
|
||||
Loading…
Reference in New Issue
Block a user