a11y.skipToMainContent
1

Database 마이그레이션 발전기

두 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. 오래된 (현재) 스키마 SQL을 붙여.
  2. 새로운 (target) 스키마 SQL을 붙여 넣으십시오.
  3. 생성을 클릭합니다.
  4. 생성된 마이그레이션 스크립트를 검토하고 복사합니다.

데이터베이스 마이그레이션 생성기은 무엇입니까?

A 데이터베이스 마이그레이션 발전기는 SQL 스키마의 두 가지 버전을 비교하고 이전 스키마를 새로운 하나로 변환하는 데 필요한 DD 문 생성. 추가, 제거 및 수정 된 열, 색인 및 제약을 감지합니다.

이 도구는 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