-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
267 additions
and
348 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
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 |
---|---|---|
|
@@ -10,7 +10,5 @@ public class HttpMapTypesFiles | |
|
||
public string Value { get; set; } | ||
|
||
public string Extension { get; set; } | ||
|
||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
FOCA/Database/Migrations/201908230648106_RemoveUnusedBackupSupport.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
FOCA/Database/Migrations/201908230648106_RemoveUnusedBackupSupport.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 FOCA.Migrations | ||
{ | ||
using System; | ||
using System.Data.Entity.Migrations; | ||
|
||
public partial class RemoveUnusedBackupSupport : DbMigration | ||
{ | ||
public override void Up() | ||
{ | ||
DropForeignKey("dbo.HttpMapTypesFiles", "HttpMap_Id", "dbo.HttpMaps"); | ||
DropIndex("dbo.HttpMapTypesFiles", new[] { "HttpMap_Id" }); | ||
DropColumn("dbo.HttpMapTypesFiles", "Extension"); | ||
DropColumn("dbo.HttpMapTypesFiles", "HttpMap_Id"); | ||
} | ||
|
||
public override void Down() | ||
{ | ||
AddColumn("dbo.HttpMapTypesFiles", "HttpMap_Id", c => c.Int()); | ||
AddColumn("dbo.HttpMapTypesFiles", "Extension", c => c.String()); | ||
CreateIndex("dbo.HttpMapTypesFiles", "HttpMap_Id"); | ||
AddForeignKey("dbo.HttpMapTypesFiles", "HttpMap_Id", "dbo.HttpMaps", "Id"); | ||
} | ||
} | ||
} |
126 changes: 126 additions & 0 deletions
126
FOCA/Database/Migrations/201908230648106_RemoveUnusedBackupSupport.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
Oops, something went wrong.