Skip to content

renderMigrationSql — @gj-kit/toss-payments-postgresql

A public function from @gj-kit/toss-payments-postgresql. The signature below is taken directly from the 0.5.1 release declaration.

import { renderMigrationSql } from '@gj-kit/toss-payments-postgresql';
/**
* 자체 마이그레이션 도구(Flyway/dbmate 등) 사용자용 전체 스크립트 (설계 §4).
*
* migrate()와 **동일한 SQL**을 주석 헤더와 함께 이어 붙인 순수 문자열이다 —
* 단, 버전 테이블(toss_pg_migrations) 관리 문은 제외한다(버전 관리는 외부 도구 소관).
*/
declare function renderMigrationSql(options?: MigrateOptions): string;

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/toss-payments-postgresql
  • Version: 0.5.1
  • Public entry: .
  • Source: GitHub