Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #73 from AppliedIS/feature-ci
Browse files Browse the repository at this point in the history
Remove ApplicationID in Migration
  • Loading branch information
MrMatt57 committed Oct 21, 2016
2 parents e2da225 + ea21d0e commit 3635630
Show file tree
Hide file tree
Showing 4 changed files with 180 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@
<Compile Include="Migrations\201610191846129_WIOAUpdates.Designer.cs">
<DependentUpon>201610191846129_WIOAUpdates.cs</DependentUpon>
</Compile>
<Compile Include="Migrations\201610212140188_RemoveApplicationId.cs" />
<Compile Include="Migrations\201610212140188_RemoveApplicationId.Designer.cs">
<DependentUpon>201610212140188_RemoveApplicationId.cs</DependentUpon>
</Compile>
<Compile Include="Migrations\Configuration.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Repositories\FileRepository.cs" />
Expand Down Expand Up @@ -215,6 +219,9 @@
<EmbeddedResource Include="Migrations\201610191846129_WIOAUpdates.resx">
<DependentUpon>201610191846129_WIOAUpdates.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Migrations\201610212140188_RemoveApplicationId.resx">
<DependentUpon>201610212140188_RemoveApplicationId.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
namespace DOL.WHD.Section14c.DataAccess.Migrations
{
using System;
using System.Data.Entity.Migrations;

public partial class RemoveApplicationId : DbMigration
{
public override void Up()
{
DropColumn("dbo.ApplicationSaves", "ApplicationId");
}

public override void Down()
{
AddColumn("dbo.ApplicationSaves", "ApplicationId", c => c.Guid(nullable: false));
}
}
}
Loading

0 comments on commit 3635630

Please sign in to comment.