我在 Nestjs 上的项目中使用 typeOrm,问题是当我创建迁移时它不是增量的,
我正在搜索文档的详细信息,但没有找到任何结果:(, 如果我希望将来修改我的实体,它会重新创建整个表,而不是发出简单的“更改表”请求 `导出常量 dataSourceOption: DataSourceOptions = {
type: 'mysql',
host: 'localhost',
port: 3306,
username: 'root',
password: '',
database: 'testnestjs',
entities: ['dist/**/*.entity.js'],
migrations: ['dist/db/migrations/*.js'],
synchronize: true,
} ` 谢谢