From 4585e64162796efc0285dd0be1912d9769a5c57b Mon Sep 17 00:00:00 2001 From: Mark Story Date: Fri, 14 Aug 2015 18:03:19 -0400 Subject: [PATCH] Generate one row by default. Instead of 10 rows, we should generate 1. This makes the fixtures generated by `bake model` and `bake fixture` consistent. Refs #146 --- src/Shell/Task/FixtureTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shell/Task/FixtureTask.php b/src/Shell/Task/FixtureTask.php index 7062dc742..e2a3c6f2d 100644 --- a/src/Shell/Task/FixtureTask.php +++ b/src/Shell/Task/FixtureTask.php @@ -72,7 +72,7 @@ public function getOptionParser() ])->addOption('count', [ 'help' => 'When using generated data, the number of records to include in the fixture(s).', 'short' => 'n', - 'default' => 10 + 'default' => 1 ])->addOption('schema', [ 'help' => 'Create a fixture that imports schema, instead of dumping a schema snapshot into the fixture.', 'short' => 's',