30 lines
788 B
C#
30 lines
788 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Weifer.Database.EF.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class added_sessiontoken : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "SessionToken",
|
|
table: "Customers",
|
|
type: "nvarchar(max)",
|
|
nullable: false,
|
|
defaultValue: "");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "SessionToken",
|
|
table: "Customers");
|
|
}
|
|
}
|
|
}
|