demo20230512/Migrations/202212040816164_addFabProductUserId.cs

21 lines
539 B
C#
Raw Normal View History

2023-05-12 10:20:28 +08:00
namespace Weee.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class addFabProductUserId : DbMigration
{
public override void Up()
{
AddColumn("dbo.Fabs", "UserId", c => c.String(maxLength: 128));
AddColumn("dbo.Products", "UserId", c => c.String(maxLength: 128));
}
public override void Down()
{
DropColumn("dbo.Products", "UserId");
DropColumn("dbo.Fabs", "UserId");
}
}
}