#409 database migration
This commit is contained in:
parent
59d3d7232c
commit
6275bc855e
5255
RMuseum/Migrations/20230901104421_DnQ.Designer.cs
generated
Normal file
5255
RMuseum/Migrations/20230901104421_DnQ.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
44
RMuseum/Migrations/20230901104421_DnQ.cs
Normal file
44
RMuseum/Migrations/20230901104421_DnQ.cs
Normal file
@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class DnQ : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "QueuedPDFBooks",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
DownloadOrder = table.Column<int>(type: "int", nullable: false),
|
||||
Title = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
AuthorsLine = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
Description = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
Language = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
IsTranslation = table.Column<bool>(type: "bit", nullable: false),
|
||||
TranslatorsLine = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
OriginalSourceName = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
OriginalSourceUrl = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
OriginalFileUrl = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
Processed = table.Column<bool>(type: "bit", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_QueuedPDFBooks", x => x.Id);
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "QueuedPDFBooks");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3351,6 +3351,50 @@ namespace RMuseum.Migrations
|
||||
b.ToTable("PDFSources");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("RMuseum.Models.PDFLibrary.QueuedPDFBook", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("AuthorsLine")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int>("DownloadOrder")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("IsTranslation")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("Language")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("OriginalFileUrl")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("OriginalSourceName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("OriginalSourceUrl")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("Processed")
|
||||
.HasColumnType("bit");
|
||||
|
||||
b.Property<string>("Title")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("TranslatorsLine")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("QueuedPDFBooks");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("RMuseum.Models.UploadSession.UploadSession", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
|
||||
@ -3992,6 +3992,18 @@
|
||||
<member name="M:RMuseum.Migrations.PDFBookText.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Migrations.DnQ">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.DnQ.Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.DnQ.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.DnQ.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Accounting.DonationExpenditure">
|
||||
<summary>
|
||||
donation expenditures
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"sdk": {
|
||||
"version": "7.0.306"
|
||||
"version": "7.0.400"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user