Updated mirgration + small fix
This commit is contained in:
parent
e3d0bb06d6
commit
132624a16b
@ -1,4 +1,5 @@
|
||||
using FurnitureAssembly_WorkerBusinessLogic.OfficePackage.HelperModels;
|
||||
using FurnitureAssembly_WorkerBusinessLogic.OfficePackage;
|
||||
using FurnitureAssembly_WorkerBusinessLogic.OfficePackage.HelperModels;
|
||||
using FurnitureAssembly_WorkerContracts.BindingModels;
|
||||
using FurnitureAssembly_WorkerContracts.BusinessLogicContracts;
|
||||
using FurnitureAssembly_WorkerContracts.SearchModels;
|
||||
@ -107,7 +108,7 @@ namespace FurnitureAssembly_WorkerBusinessLogic.BusinessLogics
|
||||
/// Сохранение компонент в файл-Word
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
public void SaveFurnitureModulesToWordFile(ReportBindingModel model)
|
||||
public void SaveFurnitureModuleToWordFile(ReportBindingModel model)
|
||||
{
|
||||
_saveToWord.CreateDoc(new WordInfo
|
||||
{
|
||||
|
@ -12,8 +12,8 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace FurnitureAssembly_WorkerDatabaseImplement.Migrations
|
||||
{
|
||||
[DbContext(typeof(FurnitureAssemblyDatabase))]
|
||||
[Migration("20230405211314_InitMigration")]
|
||||
partial class InitMigration
|
||||
[Migration("20230406130140_Init")]
|
||||
partial class Init
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
@ -184,6 +184,9 @@ namespace FurnitureAssembly_WorkerDatabaseImplement.Migrations
|
||||
b.Property<int>("SetId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<double>("Sum")
|
||||
.HasColumnType("double precision");
|
||||
|
||||
b.Property<int>("UserId")
|
||||
.HasColumnType("integer");
|
||||
|
@ -7,7 +7,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace FurnitureAssembly_WorkerDatabaseImplement.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class InitMigration : Migration
|
||||
public partial class Init : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
@ -218,6 +218,7 @@ namespace FurnitureAssembly_WorkerDatabaseImplement.Migrations
|
||||
PaymentType = table.Column<int>(type: "integer", nullable: false),
|
||||
SetId = table.Column<int>(type: "integer", nullable: false),
|
||||
DateCreate = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
|
||||
Sum = table.Column<double>(type: "double precision", nullable: false),
|
||||
UserId = table.Column<int>(type: "integer", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
@ -181,6 +181,9 @@ namespace FurnitureAssembly_WorkerDatabaseImplement.Migrations
|
||||
b.Property<int>("SetId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<double>("Sum")
|
||||
.HasColumnType("double precision");
|
||||
|
||||
b.Property<int>("UserId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user