Skip to content

Commit

Permalink
Fixing migrations
Browse files Browse the repository at this point in the history
Fixing migrations
  • Loading branch information
Oktawian-L committed Nov 9, 2019
1 parent 49c11d9 commit f9cf761
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 180 deletions.
11 changes: 11 additions & 0 deletions SubitonAPI/SubitonAPI/Migrations/20191102214503_add_name.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,24 @@ protected override void Up(MigrationBuilder migrationBuilder)
name: "Name",
table: "Users",
nullable: true);

migrationBuilder.AddColumn<string>(
name: "public_id",
table: "Photos",
nullable: true);


}

protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Name",
table: "Users");

migrationBuilder.DropColumn(
name: "public_id",
table: "Photos");
}
}
}

This file was deleted.

22 changes: 0 additions & 22 deletions SubitonAPI/SubitonAPI/Migrations/20191108192541_addedpublicid.cs

This file was deleted.

0 comments on commit f9cf761

Please sign in to comment.