in src/Relecloud.Web.CallCenter.Api/Migrations/20220125000051_AddVisibleFields.cs [9:30]
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Concerts",
columns: table => new
{
Id = table.Column<int>(type: "int", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
IsVisible = table.Column<bool>(type: "bit", nullable: false),
Artist = table.Column<string>(type: "nvarchar(max)", nullable: false),
Genre = table.Column<string>(type: "nvarchar(max)", nullable: false),
Location = table.Column<string>(type: "nvarchar(max)", nullable: false),
Title = table.Column<string>(type: "nvarchar(max)", nullable: false),
Description = table.Column<string>(type: "nvarchar(max)", nullable: false),
Price = table.Column<double>(type: "float", nullable: false),
StartTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Concerts", x => x.Id);
});
}