refabrique
This commit is contained in:
17
Yavsc/Migrations/20160802143258_bcontentornot.cs
Normal file
17
Yavsc/Migrations/20160802143258_bcontentornot.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using Microsoft.Data.Entity.Migrations;
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
public partial class bcontentornot : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(name: "bcontent", table: "Blog", newName:"Content");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(name: "Content", table: "Blog", newName:"bcontent");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user