using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace TicketAppIncrArchi.Migrations
{
///
public partial class Init : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Tickets",
columns: table => new
{
Id = table.Column(type: "uuid", nullable: false),
Title = table.Column(type: "text", nullable: false),
Description = table.Column(type: "text", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Tickets", x => x.Id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Tickets");
}
}
}