All checks were successful
continuous-integration/drone/push Build is passing
30 lines
764 B
C#
30 lines
764 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace CampusErrand.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddOrderImGroupId : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "ImGroupId",
|
|
table: "Orders",
|
|
type: "nvarchar(64)",
|
|
maxLength: 64,
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "ImGroupId",
|
|
table: "Orders");
|
|
}
|
|
}
|
|
}
|