MovieBase_Project/MovieBase/Migrations/201905051620246_imdb2.cs
2019-05-29 21:33:34 +02:00

24 lines
563 B
C#

namespace MovieBase.Migrations
{
using System.Data.Entity.Migrations;
public partial class imdb2 : DbMigration
{
public override void Up()
{
AddColumn("dbo.Movies", "Title", c => c.String());
AddColumn("dbo.Movies", "Plot", c => c.String());
AddColumn("dbo.Movies", "Poster", c => c.String());
DropColumn("dbo.Movies", "Name");
}
public override void Down()
{
AddColumn("dbo.Movies", "Name", c => c.String());
DropColumn("dbo.Movies", "Poster");
DropColumn("dbo.Movies", "Plot");
DropColumn("dbo.Movies", "Title");
}
}
}