AscendingCreations / AxumSession

Axum Session Management Libraries that use Sqlx
MIT License
142 stars 29 forks source link

remove double quote from column in mysql #25

Closed tadic-luka closed 1 year ago

tadic-luka commented 1 year ago

Mysql does not support double quoting column names like postgresql does. When using mysql client in my service I get the following error:

Sqlx(Database(MySqlDatabaseError { code: Some("42000"), number: 1064, message: "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '\"id\" VARCHAR(128) NOT NULL PRIMARY KEY,\n                \"expires\" INTEGER NUL...' at line 2" }))