🍱 Update migrations
This commit is contained in:
29
DysonNetwork.Pass/Migrations/20250819162856_AddBotAccount.cs
Normal file
29
DysonNetwork.Pass/Migrations/20250819162856_AddBotAccount.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace DysonNetwork.Pass.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddBotAccount : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "automated_id",
|
||||
table: "accounts",
|
||||
type: "uuid",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "automated_id",
|
||||
table: "accounts");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user