-
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.
Added job to copy induction from DQT to TRS (#1700)
- Loading branch information
Showing
13 changed files
with
7,401 additions
and
17 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
3,338 changes: 3,338 additions & 0 deletions
3,338
...gRecordSystem.Core/DataStore/Postgres/Migrations/20241115120807_InductionSync.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
...c/TeachingRecordSystem.Core/DataStore/Postgres/Migrations/20241115120807_InductionSync.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 System; | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace TeachingRecordSystem.Core.DataStore.Postgres.Migrations | ||
{ | ||
/// <inheritdoc /> | ||
public partial class InductionSync : Migration | ||
{ | ||
/// <inheritdoc /> | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AddColumn<DateTime>( | ||
name: "dqt_induction_last_sync", | ||
table: "persons", | ||
type: "timestamp with time zone", | ||
nullable: true); | ||
|
||
migrationBuilder.AddColumn<DateTime>( | ||
name: "dqt_induction_modified_on", | ||
table: "persons", | ||
type: "timestamp with time zone", | ||
nullable: true); | ||
} | ||
|
||
/// <inheritdoc /> | ||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropColumn( | ||
name: "dqt_induction_last_sync", | ||
table: "persons"); | ||
|
||
migrationBuilder.DropColumn( | ||
name: "dqt_induction_modified_on", | ||
table: "persons"); | ||
} | ||
} | ||
} |
Oops, something went wrong.