We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711b4c0 commit 30e58deCopy full SHA for 30e58de
src/modules/migrations/add.ts
@@ -38,7 +38,7 @@ export const addMigration = async (params: AddMigrationParams) => {
38
? currentDate
39
: params.order === undefined
40
? undefined
41
- : padWithLeadingZeros(params.order, params.padWithLeadingZeros),
+ : padWithLeadingZeros(params.order, params.padWithLeadingZeros) + "-",
42
);
43
const migrationData = params.type === "ts"
44
? generateTypescriptMigration(params.timestamp ? currentDate : params.order)
0 commit comments