PostgreSQL types in context based multi-tenancy
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
issue に記載されている custom_statements の処理と、tenant 用および非 tenant 用のマイグレーションパスを追跡します。ステートメントを global としてマークできる方法を確認し、CREATE TYPE ステートメントがデータベースごとに 1 回実行される一方で、tenant スコープのステートメントは引き続き tenant ごとに実行されることを検証します。2 番目の tenant が作成された場合の動作も確認します。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
When creating a PostgreSQL custom enum type via CREATE TYPE foo AS ENUM ('bar', 'foobar') inside the custom_statements block while utilising context based multi-tenancy, the statement is placed into the tenant migration. This will fail to execute this statement as soon as a second tenant is created. Types in this context are global for the entire database.
Describe the solution you'd like
A configuration option that a statement should be place in the non-tenant migration set.
Describe alternatives you've considered
Currently, the only workaround is manual intervention.
Express the feature either with a change to resource syntax, or with a change to the resource interface
postgres do
custom_statements do
statement :foo do
global? true
up "..."
down "..."
end
end
end
- 主要言語
- Elixir
- スター
- 191
- フォーク
- 186
- 平均マージ
- 16時間 4分
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ash-project/ash_postgres のほかの issue
-
Temporal: an update or destroy as of an instant doesn't carry into later versions対応中かも @hoanle0126 が 13 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
ash-project/ash_postgres#915 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
has_create_action?/1 excludes manual creates, making the #49 nullability fix inert on AshEvents resources再び着手できるかも @Mckay-Hinds が 18 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
ash-project/ash_postgres#851 · コメント 9 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ash-project/ash_postgres#650 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ash-project/ash_postgres#642 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 40/100
ash-project/ash_postgres#628 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
ash-project/ash_postgres の issue をすべて見る
似ている issue
-
@swmansion/popcorn: published .d.ts files lack extensions on relative imports, breaking moduleResolution node16/nodenext対応中かも @Huyvux12 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
software-mansion/popcorn#929 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ash-project/ash#3127 ·
メンテナーはふだん 1 日以内に返信
-
Bug: Table layout and date column are cut off on mobile screens on the Tournaments -> History pageオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
hexlet-codebattle/codebattle#2375 ·
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wintermeyer/vutuv#2388 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100