using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace CleanArchitecture.Infrastructure.Migrations
{
///
public partial class InitialMigration : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Users",
columns: table => new
{
Id = table.Column(type: "uniqueidentifier", nullable: false),
Email = table.Column(type: "nvarchar(320)", maxLength: 320, nullable: false),
GivenName = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false),
Surname = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false),
Deleted = table.Column(type: "bit", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Users", x => x.Id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Users");
}
}
}