web2py / pydal

A pure Python Database Abstraction Layer
BSD 3-Clause "New" or "Revised" License
493 stars 137 forks source link

Incorrect sqlite placeholder for InDBMigrator #701

Closed macneiln closed 1 year ago

macneiln commented 1 year ago

The sqlite adapter uses "?" as the placeholder in queries, whereas mysql and postgresql use "%s" as the placeholder, so this needs to be dynamic depending on the database being used relating to the InDBMigrator.