feat: add deletion support on sync metadata command (#3826)

* feat: add deletion support on sync metadata command

* fix: remove debug
This commit is contained in:
Jérémy M
2024-02-07 15:38:23 +01:00
committed by GitHub
parent b119dd8e9c
commit a908353955
13 changed files with 421 additions and 311 deletions

View File

@ -1,3 +1,6 @@
export function generateMigrationName(name?: string): string {
return `${new Date().getTime()}${name ? `-${name}` : ''}`;
export function generateMigrationName(
name?: string,
addMilliseconds: number = 0,
): string {
return `${new Date().getTime() + addMilliseconds}${name ? `-${name}` : ''}`;
}