Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【インストーラー】既に存在するテーブル名の一部を含むプレフィックスを利用すると対象テーブルが作成できない #1054

Open
tnagatomi opened this issue Apr 29, 2019 · 1 comment
Labels
Review レビュー要 Ver4 バージョン4

Comments

@tnagatomi
Copy link
Contributor

(このIssueはRedmineのチケットから移行されています)

作成者: 江頭 竜二
作成日: 2017/10/28 12:40

例えば、site_ や、theme_ を利用すると、site_configs や、theme_configs が作成できず、インストールが不完全の状態となる。

これは、CakePHP の DboSource::fullTableName() の仕様となる。

バリデーションで防ぎたいところだが、将来的にインストールされるプラグインのテーブル名を予測する事が不可能な為、仕様をよく検討する必要がある。

例えば、abc_ というプレフィックスにしていた場合、将来的にプラグインで、abc_ を含むテーブルを作成できない

@tnagatomi
Copy link
Contributor Author

投稿者: 江頭 竜二
投稿日: 2017/10/30 00:32:27

強制的にプレフィックス名の後にアンダースコアを2つ付ける仕様だと大丈夫かも。(確認要)

@ryuring ryuring added the Review レビュー要 label May 16, 2019
@ryuring ryuring changed the title 既に存在するテーブル名の一部を含むプレフィックスを利用すると対象テーブルが作成できない 【インストーラー】既に存在するテーブル名の一部を含むプレフィックスを利用すると対象テーブルが作成できない May 5, 2020
@ryuring ryuring added the Ver4 バージョン4 label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review レビュー要 Ver4 バージョン4
Projects
None yet
Development

No branches or pull requests

2 participants