You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
async up(): Promise<void> {
const otherTableId = await this.execute('SELECT id FROM other_table WHERE ...');
this.addSql('alter table test add other_table_id int');
this.addSql('update table test set other_table_id = ' + otherTableId);
}
But I haven't found a way to make a select and get the result of its execution in the migration..
The text was updated successfully, but these errors were encountered:
KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_MySQL2.acquireConnection (/app/node_modules/knex/lib/client.js:347:26
I would like something like this:
But I haven't found a way to make a select and get the result of its execution in the migration..
The text was updated successfully, but these errors were encountered: