CakeDC / mixer

A plugin to discover and manage CakePHP plugins.
Other
45 stars 5 forks source link

"Kitchen" is broken on anything but MySQL #15

Closed dakota closed 7 years ago

dakota commented 7 years ago

"Kitchen" relies only on the SHOW TABLES sql to determine what tables are available in the database. This syntax only works with MySQL meaning that it is unusable with any other database engine.

It should instead use the listTables() method that is provided by the ORM.

dereuromark commented 7 years ago

Also, please ignore the migrations tables.. "a_dmad_hybrid_auth_phinxlog" is not sth I would ever want to bake :)

dakota commented 7 years ago

Should probably just re-use/copy the code that bake uses to generate it's list of tables

andrej-griniuk commented 7 years ago

Good point! Done.