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.
外部キーを持つ列だけを追加しました。「t」を忘れていたことに気づきました。
外部キーを削除しましたが、列を変更または削除しようとすると、'.... の名前変更でエラーが発生しました。
これ以上のアイデアはありません....
何か案は。
ありがとう
phpMyAdmin でデータベースに移動し、上部のバーから SQL オプションを選択します。
そこにタイプALTER Table [tablename] change [old column name] [new column name] [data type (eg varchar)] ([field length])
ALTER Table [tablename] change [old column name] [new column name] [data type (eg varchar)] ([field length])
何かのようなものALTER Table Users change firstname first_name text (25) ;
ALTER Table Users change firstname first_name text (25) ;
うまくいけば、それがあなたが求めているものです
ジョー