mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
missing await
This commit is contained in:
parent
197f1975bf
commit
e8d6e871c4
@ -30,7 +30,7 @@ export default async (): Promise<void> => {
|
||||
`SHOW COLUMNS FROM \`${CONFIG.DB_DATABASE}\`.\`migrations\` LIKE 'db_version';`,
|
||||
)
|
||||
if (result.length > 0) {
|
||||
con.query(`DROP TABLE \`${CONFIG.DB_DATABASE}\`.\`migrations\``)
|
||||
await con.query(`DROP TABLE \`${CONFIG.DB_DATABASE}\`.\`migrations\``)
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Found and dropped old migrations table')
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user