This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
fixturize.php | Wed Sep 10 08:34:35 -0700 2008 | |
| |
readme.textile | Tue Sep 09 05:15:30 -0700 2008 |
cakephp/shells/fixturize/readme.textile
CakePHP Fixturize Shell
A CakePHP shell to create a fixture using the values of any given database table so one does not have to type it up manually.
Installing
1. Copy fixturize.php to vendors/shells (or app/vendors/shells)
2. That’s it!
Usage / Docs
To create a fixture for your posts table, run the following in your Terminal:
cd cake/console
./cake fixturize posts
This will create a file called app/tests/fixtures/post_fixture.php for you holding all records of that table.
If you want to fixturize more than one table at a time, simply provide more table names as space separated arguments.
In case you previously fixturized a table already, use the —force option to overwrite the old one.
Missing Features
- Fixturize the schema of tables
Known Bugs
None







