jhartwell / Plsm

Elixir mix task to generate Ecto models from already existing tables
MIT License
265 stars 54 forks source link

Update mysql.ex: use backticks around table name #106

Closed ktec closed 4 years ago

ktec commented 4 years ago

I ran this code on a database which includes a table called "match" and the sql generated is invalid. By adding the back ticks it ensures the table name is recognised correctly and the SQL statement is valid.

jhartwell commented 4 years ago

@ktec sorry for the delay in getting this merged in.