Шилжилтийн SQL үүсгэгч
Схемийн өөрчлөлтийг тайлбарлаад Postgres эсвэл MySQL-д тохирох up, down шилжилтийн SQL-ийг авна. Ажиллаж буй хүснэгтэд аюулгүй дараалалтай.
🔒 Энэ хэрэгсэл бүхэлдээ таны хөтөч дээр ажилладаг. Таны файлууд серверт хэзээ ч илгээгддэггүй.
Developer
Migration SQL Generator
Frontend preview — no upload or external service.
Migration SQL
Up: ALTER TABLE orders ADD COLUMN customer_ref text; CREATE INDEX CONCURRENTLY idx_orders_customer_ref ON orders (customer_ref); Down: DROP INDEX and DROP COLUMN in reverse order.
How Шилжилтийн SQL үүсгэгч works
- Open Шилжилтийн SQL үүсгэгч and review the example state before entering your own values.
- Enter or select the information needed for Шилжилтийн SQL үүсгэгч.
- Review the result and adjust the inputs if you want to compare another case.
Describe a schema change and get matching up and down migration SQL for Postgres or MySQL, including the safe ordering for a live table. The interactive workspace runs in your browser, so you can review the result without creating an account.
FAQ
What is Шилжилтийн SQL үүсгэгч used for?
Describe a schema change and get matching up and down migration SQL for Postgres or MySQL, including the safe ordering for a live table.
Do I need an account?
No. The tool is available directly in the browser without an account or sign-up.
What should I do if the result looks unexpected?
Check the entered values and compare them with the guidance shown in Шилжилтийн SQL үүсгэгч. Use the result as a planning aid and verify important decisions independently.