|
|
@@ -17,10 +17,10 @@ class SluggedArticleFixture extends TestFixture {
|
|
|
*/
|
|
|
public $fields = array(
|
|
|
'id' => ['type' => 'integer'],
|
|
|
- 'title' => ['type' => 'string', 'length' => 255, 'null' => false],
|
|
|
- 'slug' => ['type' => 'string', 'length' => 245, 'null' => false],
|
|
|
- 'long_title' => array('type' => 'string', 'null' => false),
|
|
|
- 'long_slug' => array('type' => 'string', 'null' => false),
|
|
|
+ 'title' => ['type' => 'string', 'length' => 255, 'null' => false, 'default' => ''],
|
|
|
+ 'slug' => ['type' => 'string', 'length' => 245, 'null' => false, 'default' => ''],
|
|
|
+ 'long_title' => array('type' => 'string', 'null' => false, 'default' => ''),
|
|
|
+ 'long_slug' => array('type' => 'string', 'null' => false, 'default' => ''),
|
|
|
'section' => ['type' => 'integer', 'null' => true],
|
|
|
'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
|
|
|
);
|