feat: refs #7562 deleteDeprecatedObjects #6
|
@ -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
|
||||
};
|
||||
|
||||
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
juan
commented
`else` y `}` deben estar en la misma linea: `} else`
|
||||
`${newVersionDir}/00-firstScript.sql`,
|
||||
'-- Place your SQL code here\n'
|
||||
|
|
Loading…
Reference in New Issue
Generating SQL for deprecated objects deletion