额外选项
非官方测试版翻译
本页面由 PageTurner AI 翻译(测试版)。未经项目官方认可。 发现错误? 报告问题 →
时间戳
通过 -t 标志(--timestamp 别名)可指定迁移名称的时间戳(应为非负数):
typeorm -t <specific-timestamp> migration:{create|generate}
时间戳获取方式:
Date.now()
/* OR */ new Date().getTime()
本页面由 PageTurner AI 翻译(测试版)。未经项目官方认可。 发现错误? 报告问题 →
通过 -t 标志(--timestamp 别名)可指定迁移名称的时间戳(应为非负数):
typeorm -t <specific-timestamp> migration:{create|generate}
时间戳获取方式:
Date.now()
/* OR */ new Date().getTime()