aboutsummaryrefslogtreecommitdiff
path: root/Migrations/20230806155332_PagedServices.cs
blob: b58e85b332fb70bdd3c486e19f5b4b38996f7e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace PagerParser.Migrations
{
    /// <inheritdoc />
    public partial class PagedServices : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<List<string>>(
                name: "PagedServices",
                table: "ParsedPagerMessages",
                type: "text[]",
                defaultValue: new List<string>(),
                nullable: false);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "PagedServices",
                table: "ParsedPagerMessages");
        }
    }
}