Files
tbd-station-14/Content.Server.Database/Migrations/Sqlite/20220505084819_MarkingsJsonb.cs
2022-05-05 11:23:48 +02:00

37 lines
989 B
C#

#nullable disable
using Microsoft.EntityFrameworkCore.Migrations;
namespace Content.Server.Database.Migrations.Sqlite
{
public partial class MarkingsJsonb : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "markings",
table: "profile");
migrationBuilder.AddColumn<byte[]>(
name: "markings",
table: "profile",
type: "jsonb",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "markings",
table: "profile");
migrationBuilder.AddColumn<string>(
name: "markings",
table: "profile",
type: "TEXT",
nullable: false,
defaultValue: "");
}
}
}