Implement US-13 patient authentication and persistent ownership

This commit is contained in:
Steffen committed 2026-10-05 11:10:22 +02:00
1 parent ebf50827d6
commit 0ce9b2b168
36 files changed
+1203 -28

No files matched your search

@@ -0,0 +1,38 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PatientProfileService.Persistence.Migrations
{
/// <inheritdoc />
public partial class AccountProfileAssociation : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "account_id",
table: "patient",
type: "text",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_patient_account_id",
table: "patient",
column: "account_id",
unique: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_patient_account_id",
table: "patient");
migrationBuilder.DropColumn(
name: "account_id",
table: "patient");
}
}
}