36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
![]() |
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace MareSynchronosServer.Migrations
|
|||
|
{
|
|||
|
public partial class AdjustInviteLength : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AlterColumn<string>(
|
|||
|
name: "invite",
|
|||
|
table: "group_temp_invites",
|
|||
|
type: "character varying(64)",
|
|||
|
maxLength: 64,
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(string),
|
|||
|
oldType: "character varying(10)",
|
|||
|
oldMaxLength: 10);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AlterColumn<string>(
|
|||
|
name: "invite",
|
|||
|
table: "group_temp_invites",
|
|||
|
type: "character varying(10)",
|
|||
|
maxLength: 10,
|
|||
|
nullable: false,
|
|||
|
oldClrType: typeof(string),
|
|||
|
oldType: "character varying(64)",
|
|||
|
oldMaxLength: 64);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|