blob: 6725186a8f1c111a34fe3eea1e9f17bedfe06406 (
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
|
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace marlin.web.Migrations
{
/// <inheritdoc />
public partial class AddAgentToken : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "auth_token",
table: "agents",
type: "text",
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "auth_token",
table: "agents");
}
}
}
|