You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
994 B
35 lines
994 B
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
namespace EntityFramework.Migrations |
|
{ |
|
public partial class adduniacid_and_groupid : Migration |
|
{ |
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.AddColumn<int>( |
|
name: "Uniacid", |
|
table: "FileUnits", |
|
type: "int", |
|
nullable: false, |
|
defaultValue: 0); |
|
|
|
migrationBuilder.AddColumn<int>( |
|
name: "group_id", |
|
table: "FileUnits", |
|
type: "int", |
|
nullable: false, |
|
defaultValue: 0); |
|
} |
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.DropColumn( |
|
name: "Uniacid", |
|
table: "FileUnits"); |
|
|
|
migrationBuilder.DropColumn( |
|
name: "group_id", |
|
table: "FileUnits"); |
|
} |
|
} |
|
}
|
|
|