-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Totally fucked up my migrations by not understanding the code I wrote. I'll delete these later and start over.
- Loading branch information
Showing
17 changed files
with
492 additions
and
29 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
80 changes: 80 additions & 0 deletions
80
server/Migrations/20200826014923_CurrentRecentlyPlayedPageLinkPageToPreferences.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
server/Migrations/20200826014923_CurrentRecentlyPlayedPageLinkPageToPreferences.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 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
namespace TobyBlazor.Migrations | ||
{ | ||
public partial class CurrentRecentlyPlayedPageLinkPageToPreferences : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AddColumn<int>( | ||
name: "CurrentRecentlyPlayedPageLinkPage", | ||
table: "Preferences", | ||
type: "INTEGER", | ||
nullable: false, | ||
defaultValue: 0); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropColumn( | ||
name: "CurrentRecentlyPlayedPageLinkPage", | ||
table: "Preferences"); | ||
} | ||
} | ||
} |
83 changes: 83 additions & 0 deletions
83
server/Migrations/20200826020428_CurrentRecentlyPlayedVideoPageToPreferences.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
server/Migrations/20200826020428_CurrentRecentlyPlayedVideoPageToPreferences.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 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
namespace TobyBlazor.Migrations | ||
{ | ||
public partial class CurrentRecentlyPlayedVideoPageToPreferences : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AddColumn<int>( | ||
name: "CurrentRecentlyPlayedVideoPage", | ||
table: "Preferences", | ||
type: "INTEGER", | ||
nullable: false, | ||
defaultValue: 0); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropColumn( | ||
name: "CurrentRecentlyPlayedVideoPage", | ||
table: "Preferences"); | ||
} | ||
} | ||
} |
Oops, something went wrong.