refabrique
This commit is contained in:
parent
d9835539d5
commit
7c603b3cec
17 changed files with 1797 additions and 139 deletions
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue