using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace DatabaseImplement.Migrations
{
///
public partial class sale3 : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "End",
table: "Sales",
type: "timestamp without time zone",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
migrationBuilder.AddColumn(
name: "FullDescription",
table: "Sales",
type: "text",
nullable: false,
defaultValue: "");
migrationBuilder.AddColumn(
name: "Start",
table: "Sales",
type: "timestamp without time zone",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "End",
table: "Sales");
migrationBuilder.DropColumn(
name: "FullDescription",
table: "Sales");
migrationBuilder.DropColumn(
name: "Start",
table: "Sales");
}
}
}