1
0
mirror of synced 2024-11-28 08:30:56 +01:00
TaikoLocalServer/Infrastructure/Migrations/20220827163841_FirstMigration.cs
2024-11-16 01:48:16 +08:00

30 lines
776 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace TaikoLocalServer.Migrations
{
/// <inheritdoc />
public partial class FirstMigration : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<uint>(
name: "SongNumber",
table: "SongPlayData",
type: "INTEGER",
nullable: false,
defaultValue: 0u);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "SongNumber",
table: "SongPlayData");
}
}
}