aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Migrations/20210202234456_Bullshit_Part2.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-02-05 19:00:24 +0200
committertranstrike <transtrike@gmail.com>2021-02-05 19:00:24 +0200
commit75eeb4358e746d887677903052ed4bd5ca176f4d (patch)
tree9f9b9eb0103d61f488c08fa4b4b5f308ca9ab35a /src/DevHive.Data/Migrations/20210202234456_Bullshit_Part2.cs
parent51e157d1e1dc57ea2ba9c29b355fa7982a29bebe (diff)
parent4eb5ccdfc8ee4ac9795c48c701e565dbe2b641f9 (diff)
downloadDevHive-75eeb4358e746d887677903052ed4bd5ca176f4d.tar
DevHive-75eeb4358e746d887677903052ed4bd5ca176f4d.tar.gz
DevHive-75eeb4358e746d887677903052ed4bd5ca176f4d.zip
Merge branch 'dev' of github.com:Team-Kaleidoscope/DevHive into dev
Diffstat (limited to 'src/DevHive.Data/Migrations/20210202234456_Bullshit_Part2.cs')
-rw-r--r--src/DevHive.Data/Migrations/20210202234456_Bullshit_Part2.cs61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/DevHive.Data/Migrations/20210202234456_Bullshit_Part2.cs b/src/DevHive.Data/Migrations/20210202234456_Bullshit_Part2.cs
deleted file mode 100644
index 1388cbc..0000000
--- a/src/DevHive.Data/Migrations/20210202234456_Bullshit_Part2.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace DevHive.Data.Migrations
-{
- public partial class Bullshit_Part2 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropForeignKey(
- name: "FK_UserFriends_AspNetUsers_FriendId",
- table: "UserFriends");
-
- migrationBuilder.DropForeignKey(
- name: "FK_UserFriends_AspNetUsers_UserId",
- table: "UserFriends");
-
- migrationBuilder.AddForeignKey(
- name: "FK_UserFriends_AspNetUsers_FriendId",
- table: "UserFriends",
- column: "FriendId",
- principalTable: "AspNetUsers",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
-
- migrationBuilder.AddForeignKey(
- name: "FK_UserFriends_AspNetUsers_UserId",
- table: "UserFriends",
- column: "UserId",
- principalTable: "AspNetUsers",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropForeignKey(
- name: "FK_UserFriends_AspNetUsers_FriendId",
- table: "UserFriends");
-
- migrationBuilder.DropForeignKey(
- name: "FK_UserFriends_AspNetUsers_UserId",
- table: "UserFriends");
-
- migrationBuilder.AddForeignKey(
- name: "FK_UserFriends_AspNetUsers_FriendId",
- table: "UserFriends",
- column: "FriendId",
- principalTable: "AspNetUsers",
- principalColumn: "Id",
- onDelete: ReferentialAction.Restrict);
-
- migrationBuilder.AddForeignKey(
- name: "FK_UserFriends_AspNetUsers_UserId",
- table: "UserFriends",
- column: "UserId",
- principalTable: "AspNetUsers",
- principalColumn: "Id",
- onDelete: ReferentialAction.Restrict);
- }
- }
-}