21280 Posts in 5729 Topics by 2600 members
|Go to End|
30 October 2009 at 3:37am
By default, the first time you run /dev/build/, if you are starting with an empty database, default tables are generated, with dummy content.
These are something like:
I have been wondering if it is possible to alter this behavior so that different pages would be created?
30 October 2009 at 7:00am
Yes, when build is called it will invoke requireDefaultRecords(). You can override or create this to do stuff with your own models or prevent existing ones from creating those.
See Ecom for an example:
30 October 2009 at 10:16am
AWESOME!! This will make my life so much easier!
|Go to Top|