_template-service/Migrations/20241213175020_greets.cs
adam fc574d5002
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit
it's going to be a dotnet service, let's be real.
and you're getting a database, if you don't like it remove it.
2024-12-13 14:30:08 -05:00

35 lines
954 B
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace $REPO_NAME.Migrations
{
/// <inheritdoc />
public partial class greets : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Greets",
columns: table => new
{
Id = table.Column<Guid>(type: "uuid", nullable: false),
Amount = table.Column<int>(type: "integer", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Greets", x => x.Id);
});
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Greets");
}
}
}