refactor(server): non-nullable file metadata (#17598)

This commit is contained in:
Mert 2025-04-15 07:03:31 -04:00 committed by GitHub
parent bd92748ddd
commit c3d10c5be2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 49 additions and 66 deletions

View file

@ -93,7 +93,7 @@ const create = (path: string, up: string[], down: string[]) => {
const filename = `${timestamp}-${name}.ts`;
const folder = dirname(path);
const fullPath = join(folder, filename);
writeFileSync(fullPath, asMigration('kysely', { name, timestamp, up, down }));
writeFileSync(fullPath, asMigration('typeorm', { name, timestamp, up, down }));
console.log(`Wrote ${fullPath}`);
};