mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
Крче много чего сдлелал, я похерил коммиты и комментарий соотвествощий
>:(
This commit is contained in:
1 parent
c39880ab68
commit
7a0e7e0801
20 files changed
+417
-48
No files matched your search
@@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace CartriX.Api.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Init3 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "PrinterName",
|
||||
table: "Printers",
|
||||
newName: "Hostname");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Hostname",
|
||||
table: "Printers",
|
||||
newName: "PrinterName");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user