using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Emergence.data.Migrations
{
///
public partial class test : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Tenant",
columns: table => new
{
Id = table.Column(type: "uniqueidentifier", nullable: false),
TenantCode = table.Column(type: "nvarchar(max)", nullable: false),
CompanyName = table.Column(type: "nvarchar(max)", nullable: false),
IsInactive = table.Column(type: "bit", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Tenant", x => x.Id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Tenant");
}
}
}