mysql でテーブルを変更して新しい列を追加しているときに、致命的なエラーが発生しました..この質問に関連する回答を見たことがあります。
Make a new table with the same structure.
Add the column to the new table.
Insert the data from the old table into the new table.
Rename the old table to old.bak
Rename the new table to the old table.
If all went well, delete the old.bak.
しかし、元のテーブルにはいくつかのトリガー、インデックスなどが含まれています。
私の質問は
「この致命的なエラーを克服するために、Alter Script を任意の差分方法で記述できますか?」
私の懸念はMYSQLに関連していますが、他のRDBMS関連の回答も問題ありません...