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

Dev #13 #14

Open
wants to merge 1 commit into
base: 5.1.x
Choose a base branch
from
Open

Dev #13 #14

wants to merge 1 commit into from

Conversation

katokaisya
Copy link
Collaborator

@ryuring

取り急ぎ、setting.phpにてカラムを設定し、

<?php
return [
    'BcDbMigrator' => [
        // 追加indexが貼られているパターン
        'sqlRelationNames' => [
            'blog_post_id',
            'blog_content_id',
        ],
    ]
];

'unique' => 1

'unique' => 0
の2つのパターンに対応しています。

新環境でプラグインテーブルがインストール済み且つ無効状態であれば、正常に動作するところまで確認しています。
baserCMS version5.1.3

お手数ですが、ご確認の上、マージをお願いできますでしょうか?

@ryuring
Copy link
Collaborator

ryuring commented Dec 3, 2024

@katokaisya version5.1.3 であるならば、5.1.x ブランチで開発してそちらにプルリクをお願いしますー

@katokaisya katokaisya changed the base branch from dev-5 to 5.1.x December 4, 2024 02:22
@katokaisya
Copy link
Collaborator Author

@ryuring
すみません。
もともと5.1.xからトピックブランチ切ってました。
マージ先を5.1.xに変更しました。
よろしくお願いします。

@ryuring
Copy link
Collaborator

ryuring commented Jan 17, 2025

@katokaisya id 以外で、unique が設定されているテーブルが見つけられないのですが、対象となるテーブル名を教えてもらえますか?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants