30 lines
771 B
C#
30 lines
771 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Telegram.Bot.SpaceApi.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class _3B808698D6D74048AE4130C829D7C688 : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "Chat",
|
|
table: "Bots",
|
|
type: "TEXT",
|
|
nullable: false,
|
|
defaultValue: "");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Chat",
|
|
table: "Bots");
|
|
}
|
|
}
|
|
}
|