createdf
This commit is contained in:
2096
Back/Migrations/20250125170646_cdt.Designer.cs
generated
Normal file
2096
Back/Migrations/20250125170646_cdt.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
41
Back/Migrations/20250125170646_cdt.cs
Normal file
41
Back/Migrations/20250125170646_cdt.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Back.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class cdt : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "CreateDt",
|
||||
table: "Remittances",
|
||||
type: "datetime2",
|
||||
nullable: false,
|
||||
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "CreateDt",
|
||||
table: "Receipts",
|
||||
type: "datetime2",
|
||||
nullable: false,
|
||||
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CreateDt",
|
||||
table: "Remittances");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CreateDt",
|
||||
table: "Receipts");
|
||||
}
|
||||
}
|
||||
}
|
@@ -584,7 +584,6 @@ namespace Back.Migrations
|
||||
b.Property<decimal?>("_cfee")
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
|
||||
b.Property<decimal?>("am")
|
||||
.HasMaxLength(36)
|
||||
.HasColumnType("decimal(18,2)");
|
||||
@@ -1471,6 +1470,9 @@ namespace Back.Migrations
|
||||
b.Property<decimal>("Count")
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
b.Property<DateTime>("CreateDt")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Date")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
@@ -1512,6 +1514,9 @@ namespace Back.Migrations
|
||||
b.Property<decimal>("Count")
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
b.Property<DateTime>("CreateDt")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Date")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
Reference in New Issue
Block a user