sailorproject / sailor

A Lua MVC Web Framework.
MIT License
921 stars 125 forks source link

Fix model creation for sqlite3 database #170

Closed jperon closed 5 years ago

jperon commented 5 years ago

Column names and table keys weren't correctly extracted.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.4%) to 82.32% when pulling 2e7c987b7604d06bf93a7edbd19b5d6b0e9c1310 on jperon:patch-2 into 4c435f9f9fda99536f1412df4fc22f1acb87f94f on sailorproject:master.

jperon commented 5 years ago

Sorry, I hadn't run tests… The last commits fix model creation for sqlite, when sql contains backticks or tabs.

Etiene commented 5 years ago

Thanks for the PR! 💃