Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Issues going between MySQL and SQLite #1144

@alantiller

Description

@alantiller

I'm currently working on an application that utilizes Medoo, along with a custom migrations controller built around it. Table creation functions as expected when using MySQL; however, I'm encountering syntax-related issues—particularly with AUTO_INCREMENT—when attempting to run the same migrations on SQLite.

Is there a configuration setting within Medoo that addresses these differences, or would it be advisable to implement a translation layer that adjusts SQL syntax based on the active database driver?

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