-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
github-actions
committed
Mar 8, 2022
1 parent
af28bab
commit 0e2fdb0
Showing
14 changed files
with
1,761 additions
and
4 deletions.
There are no files selected for viewing
306 changes: 306 additions & 0 deletions
306
...Migrations.MySql/Migrations/OperationalDb/20220308163026_DeviceCodeDescrotion.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
...IdServer.Migrations.MySql/Migrations/OperationalDb/20220308163026_DeviceCodeDescrotion.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,39 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace Aguacongas.TheIdServer.MySql.Migrations.OperationalDb | ||
{ | ||
public partial class DeviceCodeDescrotion : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AddColumn<string>( | ||
name: "Description", | ||
table: "DeviceCodes", | ||
type: "varchar(200)", | ||
maxLength: 200, | ||
nullable: true) | ||
.Annotation("MySql:CharSet", "utf8mb4"); | ||
|
||
migrationBuilder.AddColumn<string>( | ||
name: "SessionId", | ||
table: "DeviceCodes", | ||
type: "varchar(100)", | ||
maxLength: 100, | ||
nullable: true) | ||
.Annotation("MySql:CharSet", "utf8mb4"); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropColumn( | ||
name: "Description", | ||
table: "DeviceCodes"); | ||
|
||
migrationBuilder.DropColumn( | ||
name: "SessionId", | ||
table: "DeviceCodes"); | ||
} | ||
} | ||
} |
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.