Actions
Feature #267
closed
RA
[TAK-8] PostgreSQL マルチテナント戦略を整理する
Feature #267:
[TAK-8] PostgreSQL マルチテナント戦略を整理する
Status:
Closed
Priority:
High
Assignee:
-
Start date:
09/30/2026
Due date:
% Done:
0%
Estimated time:
Description
Linear migration metadata¶
- Linear issue: TAK-8
- Linear URL: https://linear.app/takayuki-komoda/issue/TAK-8/postgresql-マルチテナント戦略を整理する
- Linear status: Done
- Linear team: Takayuki Komoda
- Linear project: EPAA Core
- Linear assignee: Takayuki Komoda
- Linear labels:
- Linear created: 2026-05-27T23:04:07.569Z
- Linear updated: 2026-06-21T01:09:10.581Z
- Linear archived:
Original description¶
概要¶
EPAAのマルチテナントDB構成を整理する。
検討対象¶
- DB分離
- Schema分離
- Row Level Security
- バックアップ
- テナント追加
- パフォーマンス
完了条件¶
- 初期戦略決定
- 将来拡張パターン整理
- 運用負荷評価
Linear comments¶
{"id" => "9aded6b7-dac6-4cf8-920a-d263232a992d", "name" => "Takayuki Komoda"} (2026-06-21T01:09:06.241Z)¶
TAK-8 の残論点として見ていた2点を対応しました。
対応内容:
-
database-rules.adocを更新し、DB schema 変更の正本をdb/releases/<app-version>/配下の versioned release SQL とする方針へ整理 - 初期マルチテナント方針を single PostgreSQL database / shared schema /
tenant_idrow separation と明記 - RLS、tenant partition、schema 分離、DB 分離を比較表で整理し、将来レビュー条件として位置付け
- backup / recovery、tenant 追加、performance、運用負荷の観点を追記
-
backend-architecture.adocに残っていた EF Core Migrations 正本方針を release SQL 方針へ整合 -
reports/2026-06-21-tak-8-multitenant-strategy/に requirements / design / development / test / review を作成
検証:
-
powershell -NoProfile -ExecutionPolicy Bypass -File .\build-docs.ps1成功 - 古い EF Core Migrations 方針が
adoc/とdocs/から消えていることをrgで確認 - 追加した release SQL / multitenant 方針が AsciiDoc と生成 HTML に反映されていることを確認
FE / BE / API / DB schema / seed data の実装変更はありません。
RA Updated by Redmine Admin about 2 hours ago
- Status changed from New to Closed
Actions