trevyn / turbosql

An easy local data persistence layer for Rust, backed by SQLite.
211 stars 8 forks source link

Disabling strict qualifier #25

Closed eredzik closed 2 years ago

eredzik commented 2 years ago

Is it possible to disable strict qualifier? Many tools dont support it and crash when trying to open database

trevyn commented 2 years ago

This is a reasonable request! I just added a sqlite-compat-no-strict-tables feature to allow this, and cut a new 0.6 release. So change your dep to:

turbosql = {version = "0.6", features = ["sqlite-compat-no-strict-tables"]}

and then delete your migrations.toml file and you should be good to go. Let me know if you run into any issues!