bake
bake copied to clipboard
The Bake Command Plugin
### Description If you have a table such as `day_events` which has `day_id` and `created_at` as the primary key, these columns are excluded from the generated $_accessible array in the...
When baking a model for a table with a column that "looks" like a foreign key such as `external_id` but has no target table, no validation is generated for the...
### Description - [x] Cleanup code / files related to tasks and shells.
Currently, the `php`-Extension for newly baked templates is hardcoded. Thus it's not possible to create other filetypes without overwriting the whole `TemplateCommand::bake` method. https://github.com/cakephp/bake/blob/1c8a2d7b6a15f4bbc77bf15c5c780fbceb41de35/src/Command/TemplateCommand.php#L359
### Description When i try to bin/bake all AModel there is runtime exception because of "error" on not related table. it should be warning but not error. (as the tables...
This is a : * [x] bug * CakePHP Version: 4.3.8. * Migrations plugin version: 3.5.1. * Bake plugin version (if relevant): 2.7.0. * Database server (MySQL, SQLite, Postgres): MariaDB...
Hi, I want to create consistent data when baking fixtures. But using bake without records from database create foreign keys with non existent values. And using bake with database records...
So the docs on bake are a bit sketchy. It seems to me that bake is designed to be used once then discarded – generally the approach for scaffolding. I...