Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
mySQL を管理するためにワークベンチに切り替えました。新しいテーブルを作成して名前を付けるたびに、idTableName という名前の属性の主キーを取得し、それを id_TableName または TableName_id に変更して、慣習により適したものにします。それは可能ですか??
MySQL Workbench で主キーの命名スキームを変更する方法については、こちらを参照してください。
[編集] -> [設定] -> [モデル] タブに移動します。
デフォルトの主キー名の名前を変更するには、次のことができます
Edit - > Preferences - > Model に移動し、Column defaults の下の PK Name の値を変更します