mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace CartriX.Api.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class Init10 : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "oidForQueryCountPrintedAllTime",
|
|
table: "Printers",
|
|
type: "TEXT",
|
|
nullable: false,
|
|
defaultValue: "1.3.6.1.2.1.43.10.2.1.4.1.1",
|
|
oldClrType: typeof(string),
|
|
oldType: "TEXT");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "oidForQueryCountPrintedAllTime",
|
|
table: "Printers",
|
|
type: "TEXT",
|
|
nullable: false,
|
|
oldClrType: typeof(string),
|
|
oldType: "TEXT",
|
|
oldDefaultValue: "1.3.6.1.2.1.43.10.2.1.4.1.1");
|
|
}
|
|
}
|
|
}
|