#407 db migration
This commit is contained in:
parent
36a36130e4
commit
e327f093f4
5211
RMuseum/Migrations/20230811083105_PDFBookText.Designer.cs
generated
Normal file
5211
RMuseum/Migrations/20230811083105_PDFBookText.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
28
RMuseum/Migrations/20230811083105_PDFBookText.cs
Normal file
28
RMuseum/Migrations/20230811083105_PDFBookText.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class PDFBookText : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "BookText",
|
||||
table: "PDFBooks",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "BookText",
|
||||
table: "PDFBooks");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3165,6 +3165,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<int>("BookScriptType")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("BookText")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<int?>("ClaimedPageCount")
|
||||
.HasColumnType("int");
|
||||
|
||||
|
||||
@ -3938,6 +3938,18 @@
|
||||
<member name="M:RMuseum.Migrations.OCRQ.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Migrations.PDFBookText">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.PDFBookText.Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.PDFBookText.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.PDFBookText.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Accounting.DonationExpenditure">
|
||||
<summary>
|
||||
donation expenditures
|
||||
|
||||
Loading…
Reference in New Issue
Block a user