aboutsummaryrefslogtreecommitdiff
path: root/Migrations/20230806155332_PagedServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Migrations/20230806155332_PagedServices.cs')
-rw-r--r--Migrations/20230806155332_PagedServices.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/Migrations/20230806155332_PagedServices.cs b/Migrations/20230806155332_PagedServices.cs
new file mode 100644
index 0000000..b58e85b
--- /dev/null
+++ b/Migrations/20230806155332_PagedServices.cs
@@ -0,0 +1,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");
+ }
+ }
+}