a11y.skipToMainContent
1

データベースのマイグレーションジェネレータ

2つのSQLスキーマ定義を比較し、ALTER TABLE、ADD COLUMN、DROP INDEXなどのDDLステートメントでマイグレーションスクリプトを生成します.

Current Schema (Old)
Target Schema (New)
Migration Script
More options
Was this tool helpful?
Send output to:
Advertisement

How to use Database Migration Generator

  1. 古い(current)スキーマSQLを貼り付けます.
  2. 新しい(target)スキーマSQLを貼り付けます.
  3. 移行を生成するをクリックします.
  4. 生成されたマイグレーションスクリプトのレビューとコピー.

データベースのマイグレーションジェネレータとは?

データベースマイグレーションジェネレータは、SQLスキーマの2つのバージョンを比較し、古いスキーマを新しいスキーマに変換するために必要なDDLステートメントを生成します。 追加、削除、および変更された列、インデックス、および制約を検出します。

このツールは、MySQL と PostgreSQL のダイアレクトをサポートしています。 Flyway、Liquibase、Knex.js.

などのマイグレーションツールで使用できるクリーンで注文されたマイグレーションスクリプトを生成します
Advertisement

FAQ

どのような変更が検出されますか?
追加/削除されたテーブル、追加/削除/変更された列、追加/削除されたインデックス、および制約の変更.
移行はリバーシブルですか?
ツールは、可能なときに、上下のマイグレーションスクリプトの両方を生成します.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement