Skip to content

Commit 59cc7f0

Browse files
committed
Remove .Designer.cs files from database migrations (finally!)
1 parent 39048fc commit 59cc7f0

File tree

86 files changed

+173
-24117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+173
-24117
lines changed

ProjectLighthouse/Migrations/20211019021627_InitialCreate.Designer.cs

Lines changed: 0 additions & 326 deletions
This file was deleted.

ProjectLighthouse/Migrations/20211019021627_InitialCreate.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
using Microsoft.EntityFrameworkCore.Metadata;
22
using Microsoft.EntityFrameworkCore.Migrations;
3-
3+
using LBPUnion.ProjectLighthouse;
4+
using Microsoft.EntityFrameworkCore.Infrastructure;
45
namespace ProjectLighthouse.Migrations
56
{
7+
[DbContext(typeof(Database))]
8+
[Migration("20211019021627_InitialCreate")]
69
public partial class InitialCreate : Migration
710
{
811
protected override void Up(MigrationBuilder migrationBuilder)

0 commit comments

Comments
 (0)