I'd like to use this without changing the db.Model, is that possible?
The use case:
- We use MySQL in production which has
JSON
- Locally we want to test in
sqlite which does not really have it (the extension is a bit annoying to use)
- Can I drop in this project without any changes to the
Model purely for local development. So when the database is sqlite and there is no JSON support, override it to store strings?
I'd like to use this without changing the db.Model, is that possible?
The use case:
JSONsqlitewhich does not really have it (the extension is a bit annoying to use)Modelpurely for local development. So when the database is sqlite and there is no JSON support, override it to store strings?