This repository was archived by the owner on Jan 17, 2022. It is now read-only.

Description
Whenever you set a table's schema then change it the following warning is thrown.
Upgrade 'dbName' blocked by other connection holding version n
The rest of the behavior is perfectly normal AFAIK but the warning is always thrown.
Code Example
First, have a table constructor like this
const tbl = new Table(`CREATE TABLE tbl (
id AUTO_INCREMENT,
firstName,
lastName
)`, db);
then edit it to
const tbl = new Table(`CREATE TABLE tbl (
id AUTO_INCREMENT,
firstName,
lastName,
email
)`, db);
and when running again the warning will be thrown.
See also
https://github.com/UltimatePro-Grammer/JSQL/blob/5fdb6840c2a48f814c665071d655c7f23173c2dc/src/lib/runner/create/addDatabase.ts#L11-L16