mirror of
https://github.com/C9Glax/tranga.git
synced 2025-04-12 19:36:08 +02:00
41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace API.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class dev0104251 : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "OriginalLanguage",
|
|
table: "Mangas",
|
|
type: "character varying(8)",
|
|
maxLength: 8,
|
|
nullable: true,
|
|
oldClrType: typeof(string),
|
|
oldType: "character varying(8)",
|
|
oldMaxLength: 8);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "OriginalLanguage",
|
|
table: "Mangas",
|
|
type: "character varying(8)",
|
|
maxLength: 8,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
oldClrType: typeof(string),
|
|
oldType: "character varying(8)",
|
|
oldMaxLength: 8,
|
|
oldNullable: true);
|
|
}
|
|
}
|
|
}
|