mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 08:16:05 -07:00
Fixed mysql migration
This commit is contained in:
parent
55cba83161
commit
8c25daff56
1 changed files with 1 additions and 1 deletions
|
@ -6,10 +6,10 @@ namespace Ombi.Store.Migrations.OmbiMySql
|
|||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.Sql("UPDATE AspNetUsers SET UserType = 4 WHERE EmbyConnectUserId IS NOT NULL");
|
||||
migrationBuilder.DropColumn(
|
||||
name: "EmbyConnectUserId",
|
||||
table: "AspNetUsers");
|
||||
migrationBuilder.Sql("UPDATE AspNetUsers SET UserType = 4 WHERE EmbyConnectUserId IS NOT NULL");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue