PostgreSQLMigratorclass
new PostgreSQLMigrator<T>()
| Return | |
|---|---|
PostgreSQLMigrator<T> | PostgreSQL migrator that inspects the live schema via pg_catalog tables to diff and migrate columns. |
PostgreSQL migrator that inspects the live schema via pg_catalog tables to diff and migrate columns.
Examples
const migrator = new PostgreSQLMigrator(provider); await migrator.migrate(users, posts);