#445 db migartion
This commit is contained in:
parent
0299376e18
commit
0fcb3cadcf
@ -113,8 +113,6 @@ namespace GanjooRazor.Areas.Admin.Pages
|
||||
BookName = Cat.Cat.BookName,
|
||||
SumUpSubsGeoLocations = Cat.Cat.SumUpSubsGeoLocations,
|
||||
MapName = Cat.Cat.MapName,
|
||||
TajikTitle = Cat.Cat.TajikTitle,
|
||||
TajikDescription = Cat.Cat.TajikDescription,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
5885
RMuseum/Migrations/20240721081720_DeleteTajikFields.Designer.cs
generated
Normal file
5885
RMuseum/Migrations/20240721081720_DeleteTajikFields.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
78
RMuseum/Migrations/20240721081720_DeleteTajikFields.cs
Normal file
78
RMuseum/Migrations/20240721081720_DeleteTajikFields.cs
Normal file
@ -0,0 +1,78 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class DeleteTajikFields : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Tajik",
|
||||
table: "GanjoorVerses");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TajikDescription",
|
||||
table: "GanjoorPoets");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TajikNickName",
|
||||
table: "GanjoorPoets");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TajikTitle",
|
||||
table: "GanjoorPoems");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TajikDescription",
|
||||
table: "GanjoorCategories");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TajikTitle",
|
||||
table: "GanjoorCategories");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Tajik",
|
||||
table: "GanjoorVerses",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TajikDescription",
|
||||
table: "GanjoorPoets",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TajikNickName",
|
||||
table: "GanjoorPoets",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TajikTitle",
|
||||
table: "GanjoorPoems",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TajikDescription",
|
||||
table: "GanjoorCategories",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TajikTitle",
|
||||
table: "GanjoorCategories",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -807,12 +807,6 @@ namespace RMuseum.Migrations
|
||||
b.Property<int>("TableOfContentsStyle")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("TajikDescription")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("TajikTitle")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Title")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
@ -1339,9 +1333,6 @@ namespace RMuseum.Migrations
|
||||
b.Property<string>("SourceUrlSlug")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("TajikTitle")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Title")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
@ -1817,12 +1808,6 @@ namespace RMuseum.Migrations
|
||||
b.Property<Guid?>("RImageId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("TajikDescription")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("TajikNickName")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<bool>("ValidBirthDate")
|
||||
.HasColumnType("bit");
|
||||
|
||||
@ -2270,9 +2255,6 @@ namespace RMuseum.Migrations
|
||||
b.Property<int?>("SectionIndex4")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("Tajik")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<string>("Text")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
|
||||
@ -105,17 +105,5 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// category map name
|
||||
/// </summary>
|
||||
public string MapName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tajik title
|
||||
/// </summary>
|
||||
public string TajikTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// additional descripion or note in Tajik
|
||||
/// </summary>
|
||||
public string TajikDescription { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -118,10 +118,5 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// poem is claimed by multiple poets
|
||||
/// </summary>
|
||||
public bool ClaimedByMultiplePoets { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tajik title
|
||||
/// </summary>
|
||||
public string TajikTitle { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@ -95,16 +95,5 @@ namespace RMuseum.Models.Ganjoor
|
||||
/// death location
|
||||
/// </summary>
|
||||
public virtual GanjoorGeoLocation DeathLocation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tajik nick name
|
||||
/// </summary>
|
||||
public string TajikNickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// additional descripion or note in Tajik
|
||||
/// </summary>
|
||||
public string TajikDescription { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -75,11 +75,6 @@
|
||||
/// </summary>
|
||||
public string CoupletSummary { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tajik text
|
||||
/// </summary>
|
||||
public string Tajik { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Text;
|
||||
|
||||
@ -4130,6 +4130,18 @@
|
||||
<member name="M:RMuseum.Migrations.NewTajikFields.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Migrations.NewTajikEntities">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.NewTajikEntities.Up(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.NewTajikEntities.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:RMuseum.Migrations.NewTajikEntities.BuildTargetModel(Microsoft.EntityFrameworkCore.ModelBuilder)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Accounting.DonationExpenditure">
|
||||
<summary>
|
||||
donation expenditures
|
||||
@ -7643,16 +7655,6 @@
|
||||
category map name
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorCat.TajikTitle">
|
||||
<summary>
|
||||
tajik title
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorCat.TajikDescription">
|
||||
<summary>
|
||||
additional descripion or note in Tajik
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Ganjoor.GanjoorCatType">
|
||||
<summary>
|
||||
Ganjoor Category Type
|
||||
@ -8457,11 +8459,6 @@
|
||||
poem is claimed by multiple poets
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoem.TajikTitle">
|
||||
<summary>
|
||||
tajik title
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Ganjoor.GanjoorPoemCorrection">
|
||||
<summary>
|
||||
poem correction
|
||||
@ -9375,16 +9372,6 @@
|
||||
death location
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoet.TajikNickName">
|
||||
<summary>
|
||||
tajik nick name
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorPoet.TajikDescription">
|
||||
<summary>
|
||||
additional descripion or note in Tajik
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:RMuseum.Models.Ganjoor.GanjoorPoetSuggestedPicture">
|
||||
<summary>
|
||||
Ganjoor Poet Picture
|
||||
@ -10027,11 +10014,6 @@
|
||||
couplet summary
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorVerse.Tajik">
|
||||
<summary>
|
||||
tajik text
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:RMuseum.Models.Ganjoor.GanjoorVerseNumber.Id">
|
||||
<summary>
|
||||
id
|
||||
|
||||
Loading…
Reference in New Issue
Block a user