feat: refs #7562 deleteDeprecatedObjects #6

Merged
guillermo merged 7 commits from 7562-deleteDeprecatedObjects into master 2024-09-12 08:06:15 +00:00
1 changed files with 2 additions and 3 deletions
Showing only changes of commit ea42017e4f - Show all commits

View File

@ -43,7 +43,7 @@ class Version extends Command {
versionCreated: function(versionName) {
console.log(`New version created: ${versionName}`);
},
deprecate: 'Generating SQL for deprecate.'
deprecate: 'Generating SQL for deprecated objects deletion.'
guillermo marked this conversation as resolved Outdated
Outdated
Review

Generating SQL for deprecated objects deletion

_Generating SQL for deprecated objects deletion_
};
async run(myt, opts) {
@ -132,8 +132,7 @@ class Version extends Command {
if (opts.deprecate) {
this.emit('deprecate');
await deprecate(conn, opts, newVersionDir);
}
else
} else
await fs.writeFile(
guillermo marked this conversation as resolved
Review

else y } deben estar en la misma linea: } else

`else` y `}` deben estar en la misma linea: `} else`
`${newVersionDir}/00-firstScript.sql`,
'-- Place your SQL code here\n'