-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1683 from Crown-Commercial-Service/p3sprint8
P3sprint8 Release to NFT on 11-05-2023
- Loading branch information
Showing
37 changed files
with
4,599 additions
and
277 deletions.
There are no files selected for viewing
2,834 changes: 2,834 additions & 0 deletions
2,834
...s/Migrations/20230327094219_Add_UserAccessRolePending_OrganisationUserGroupId.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
...Migrations/Migrations/20230327094219_Add_UserAccessRolePending_OrganisationUserGroupId.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,44 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
namespace CcsSso.Core.DbMigrations.Migrations | ||
{ | ||
public partial class Add_UserAccessRolePending_OrganisationUserGroupId : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AddColumn<int>( | ||
name: "OrganisationUserGroupId", | ||
table: "UserAccessRolePending", | ||
type: "integer", | ||
nullable: true); | ||
|
||
migrationBuilder.CreateIndex( | ||
name: "IX_UserAccessRolePending_OrganisationUserGroupId", | ||
table: "UserAccessRolePending", | ||
column: "OrganisationUserGroupId"); | ||
|
||
migrationBuilder.AddForeignKey( | ||
name: "FK_UserAccessRolePending_OrganisationUserGroup_OrganisationUse~", | ||
table: "UserAccessRolePending", | ||
column: "OrganisationUserGroupId", | ||
principalTable: "OrganisationUserGroup", | ||
principalColumn: "Id", | ||
onDelete: ReferentialAction.Restrict); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropForeignKey( | ||
name: "FK_UserAccessRolePending_OrganisationUserGroup_OrganisationUse~", | ||
table: "UserAccessRolePending"); | ||
|
||
migrationBuilder.DropIndex( | ||
name: "IX_UserAccessRolePending_OrganisationUserGroupId", | ||
table: "UserAccessRolePending"); | ||
|
||
migrationBuilder.DropColumn( | ||
name: "OrganisationUserGroupId", | ||
table: "UserAccessRolePending"); | ||
} | ||
} | ||
} |
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
13 changes: 13 additions & 0 deletions
13
...Migrations/Scripts/Phase3_Sprint8/1_Add_UserAccessRolePending_OrganisationUserGroupId.sql
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,13 @@ | ||
START TRANSACTION; | ||
|
||
ALTER TABLE "UserAccessRolePending" ADD "OrganisationUserGroupId" integer NULL; | ||
|
||
CREATE INDEX "IX_UserAccessRolePending_OrganisationUserGroupId" ON "UserAccessRolePending" ("OrganisationUserGroupId"); | ||
|
||
ALTER TABLE "UserAccessRolePending" ADD CONSTRAINT "FK_UserAccessRolePending_OrganisationUserGroup_OrganisationUse~" FOREIGN KEY ("OrganisationUserGroupId") REFERENCES "OrganisationUserGroup" ("Id") ON DELETE RESTRICT; | ||
|
||
INSERT INTO "__EFMigrationsHistory" ("MigrationId", "ProductVersion") | ||
VALUES ('20230327094219_Add_UserAccessRolePending_OrganisationUserGroupId', '5.0.10'); | ||
|
||
COMMIT; | ||
|
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
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
19 changes: 19 additions & 0 deletions
19
api/CcsSso.Core.PPONScheduler/CcsSso.Core.PPONScheduler.csproj
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,19 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Worker"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" /> | ||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.7" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\CcsSso.Core.DbPersistence\CcsSso.Core.DbPersistence.csproj" /> | ||
<ProjectReference Include="..\CcsSso.Core.Domain\CcsSso.Core.Domain.csproj" /> | ||
<ProjectReference Include="..\CcsSso.Core.Service\CcsSso.Core.Service.csproj" /> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.