using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Hushian.Persistence.Migrations
{
///
public partial class newtable : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "AIAs",
columns: table => new
{
ID = table.Column(type: "int", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
Cdatetime = table.Column(type: "datetime2", nullable: false),
CompanyID = table.Column(type: "int", nullable: false),
UserID = table.Column(type: "int", nullable: false),
Request = table.Column(type: "nvarchar(max)", nullable: false),
Response = table.Column(type: "nvarchar(max)", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_AIAs", x => x.ID);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "AIAs");
}
}
}