Several changes before queryDatabase project
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
namespace CodeFirstExistingDatabase.Migrations
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity.Migrations;
|
||||
|
||||
public partial class AddDatePublishedColumnToCoursesTable : DbMigration
|
||||
{
|
||||
public override void Up()
|
||||
{
|
||||
AddColumn("dbo.Courses", "DatePublished", c => c.DateTime());
|
||||
}
|
||||
|
||||
public override void Down()
|
||||
{
|
||||
DropColumn("dbo.Courses", "DatePublished");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user