9 changed files with 10086 additions and 28 deletions
File diff suppressed because it is too large
@ -0,0 +1,38 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace TaskManager.EntityFramework.Migrations |
|||
{ |
|||
/// <inheritdoc />
|
|||
public partial class z202506170002 : Migration |
|||
{ |
|||
/// <inheritdoc />
|
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Module", |
|||
table: "TaskLogs", |
|||
type: "nvarchar(30)", |
|||
maxLength: 30, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.CreateIndex( |
|||
name: "IX_TaskLogs_Module", |
|||
table: "TaskLogs", |
|||
column: "Module"); |
|||
} |
|||
|
|||
/// <inheritdoc />
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropIndex( |
|||
name: "IX_TaskLogs_Module", |
|||
table: "TaskLogs"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Module", |
|||
table: "TaskLogs"); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue