namespace Oceanus.Service.Web.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class ChangeODataEvents : DbMigration
    {
        public override void Up()
        {
            RenameTable(name: "dbo.DataTableWriteEvents", newName: "EntityWriteEvents");
            AlterColumn("dbo.EntityWriteEvents", "RecordId", c => c.String(maxLength: 256));
        }
        
        public override void Down()
        {
            AlterColumn("dbo.EntityWriteEvents", "RecordId", c => c.Int(nullable: false));
            RenameTable(name: "dbo.EntityWriteEvents", newName: "DataTableWriteEvents");
        }
    }
}
