-
Notifications
You must be signed in to change notification settings - Fork 0
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
19 changed files
with
344 additions
and
76 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
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
150 changes: 150 additions & 0 deletions
150
src/Services/Feeader.Infrastructure/Data/Migrations/20220731073903_AddPicture.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
97 changes: 97 additions & 0 deletions
97
src/Services/Feeader.Infrastructure/Data/Migrations/20220731073903_AddPicture.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,97 @@ | ||
using System; | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace Monbsoft.Feeader.Infrastructure.Data.Migrations | ||
{ | ||
public partial class AddPicture : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AddColumn<string>( | ||
name: "Picture", | ||
table: "Articles", | ||
type: "nvarchar(max)", | ||
nullable: false, | ||
defaultValue: ""); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("5660e7b9-7555-4d3f-b863-df658440820b"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 31, 9, 39, 3, 205, DateTimeKind.Local).AddTicks(9045)); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("5ebb45a0-5fff-49ac-a5d5-691e6314ce71"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 31, 9, 39, 3, 209, DateTimeKind.Local).AddTicks(2546)); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("71a2df8c-cb34-4203-b045-375695439b8b"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 31, 9, 39, 3, 209, DateTimeKind.Local).AddTicks(2550)); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("bcb81fd8-ab1d-4874-af23-35513d3d673d"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 31, 9, 39, 3, 209, DateTimeKind.Local).AddTicks(2542)); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("cbab58bb-fa24-46b9-b68d-ee25ddefb1a6"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 31, 9, 39, 3, 209, DateTimeKind.Local).AddTicks(2525)); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropColumn( | ||
name: "Picture", | ||
table: "Articles"); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("5660e7b9-7555-4d3f-b863-df658440820b"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 22, 23, 23, 26, 31, DateTimeKind.Local).AddTicks(722)); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("5ebb45a0-5fff-49ac-a5d5-691e6314ce71"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 22, 23, 23, 26, 34, DateTimeKind.Local).AddTicks(2489)); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("71a2df8c-cb34-4203-b045-375695439b8b"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 22, 23, 23, 26, 34, DateTimeKind.Local).AddTicks(2493)); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("bcb81fd8-ab1d-4874-af23-35513d3d673d"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 22, 23, 23, 26, 34, DateTimeKind.Local).AddTicks(2485)); | ||
|
||
migrationBuilder.UpdateData( | ||
table: "Feeds", | ||
keyColumn: "Id", | ||
keyValue: new Guid("cbab58bb-fa24-46b9-b68d-ee25ddefb1a6"), | ||
column: "Created", | ||
value: new DateTime(2022, 7, 22, 23, 23, 26, 34, DateTimeKind.Local).AddTicks(2468)); | ||
} | ||
} | ||
} |
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.