storesafe / cordova-sqlite-storage

A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API
Other
2.15k stars 716 forks source link

DROP COLUMN #980

Open tiagocaus opened 3 years ago

tiagocaus commented 3 years ago

It does not work.

db.transaction(function (tx) {
        tx.executeSql("ALTER TABLE checklist DROP COLUMN assinatura_chegada");
});
MikeDimmickMnetics commented 3 years ago

ALTER TABLE DROP COLUMN syntax is new in SQLite 3.35.0. Version 6.0.0 of this Cordova plugin ships with SQLite 3.32.3, so you'll get a syntax error when trying to use this feature.

There is a chain of dependencies:

To update the SQLite version used by this plugin, therefore, involves:

I don't know what criteria @brodybits uses to update the bundled version of SQLite.