Skip to content

Runtime changes for local development only #4

@alper

Description

@alper

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions