Sala33_FreebirdTech/Migrations/20211113205830_ChatReadMessages.cs
using Microsoft.EntityFrameworkCore.Migrations;

namespace FreebirdTech.Migrations
{
    public partial class ChatReadMessages : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<bool>(
                name: "IsRead",
                table: "Message",
                type: "boolean",
                nullable: false,
                defaultValue: false);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "IsRead",
                table: "Message");
        }
    }
}
