| 123456789101112131415161718192021222324252627282930313233343536 |
- #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: "");
- }
- }
- }
|