a11y.skipToMainContent
1

ตัวจําลองการย้ายฐานข้อมูล

เปรียบเทียบคําจํากัดความของ SQL Chema สองคํา และสร้างสคริปต์การย้ายถิ่นฐานด้วย ATERTATABOL, 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. วาง (ปัจจุบัน) Chema SQL.
  2. วางใหม่ (Target) Chema SQL.
  3. คลิกที่ magation.
  4. ทบทวนและคัดลอกสคริปต์การย้ายถิ่นที่สร้างขึ้น.

อะไรคือ?

เครื่องกําเนิดการย้ายฐานข้อมูลเปรียบเทียบ SQL Chema รุ่นที่ 2 และสร้างข้อความ DDL ที่จําเป็นเพื่อเปลี่ยนตัวพิมพ์เก่าเป็นแผ่นใหม่ มันตรวจสอบเพิ่มเติม, ลบ, และแก้ไขคอลัมน์ ดัชนี และข้อจํากัดต่าง ๆ เครื่องมือนี้รองรับสําเนียง MySQL และ PostgrestQL มันสร้างสคริปต์การย้ายถิ่นที่สะอาดและเป็นระเบียบ ซึ่งสามารถใช้ได้กับเครื่องมือการอพยพ เช่น ฟลายเวย์, ไลกีเบส, หรือ 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