This repository has been archived by the owner on Jan 17, 2024. It is now read-only.
forked from 18F/dol-whd-14c
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #194 from AppliedIS/issue103
Issue103
- Loading branch information
Showing
9 changed files
with
285 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...HD.Section14c.DataAccess/Migrations/201611301931465_AddEmployerMailingAddress.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
DOL.WHD.Section14c.DataAccess/Migrations/201611301931465_AddEmployerMailingAddress.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
namespace DOL.WHD.Section14c.DataAccess.Migrations | ||
{ | ||
using System; | ||
using System.Data.Entity.Migrations; | ||
|
||
public partial class AddEmployerMailingAddress : DbMigration | ||
{ | ||
public override void Up() | ||
{ | ||
AddColumn("dbo.EmployerInfoes", "HasMailingAddress", c => c.Boolean()); | ||
AddColumn("dbo.EmployerInfoes", "MailingAddress_Id", c => c.Guid()); | ||
CreateIndex("dbo.EmployerInfoes", "MailingAddress_Id"); | ||
AddForeignKey("dbo.EmployerInfoes", "MailingAddress_Id", "dbo.Addresses", "Id"); | ||
} | ||
|
||
public override void Down() | ||
{ | ||
DropForeignKey("dbo.EmployerInfoes", "MailingAddress_Id", "dbo.Addresses"); | ||
DropIndex("dbo.EmployerInfoes", new[] { "MailingAddress_Id" }); | ||
DropColumn("dbo.EmployerInfoes", "MailingAddress_Id"); | ||
DropColumn("dbo.EmployerInfoes", "HasMailingAddress"); | ||
} | ||
} | ||
} |
126 changes: 126 additions & 0 deletions
126
DOL.WHD.Section14c.DataAccess/Migrations/201611301931465_AddEmployerMailingAddress.resx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters