Skip to content

Commit

Permalink
Make content column a longblob.
Browse files Browse the repository at this point in the history
Try to avoid truncation issues for more folks.

Refs #512
  • Loading branch information
markstory committed Mar 25, 2017
1 parent 20562b2 commit c5403d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Fixture/PanelsFixture.php
Expand Up @@ -12,6 +12,7 @@
*/
namespace Debugkit\Test\Fixture;

use Cake\Database\Schema\TableSchema;
use Cake\TestSuite\Fixture\TestFixture;

/**
Expand Down Expand Up @@ -42,7 +43,7 @@ class PanelsFixture extends TestFixture
'title' => ['type' => 'string'],
'element' => ['type' => 'string'],
'summary' => ['type' => 'string'],
'content' => ['type' => 'binary'],
'content' => ['type' => 'binary', 'length' => TableSchema::LENGTH_LONG],
'_constraints' => [
'primary' => ['type' => 'primary', 'columns' => ['id']],
'unique_panel' => ['type' => 'unique', 'columns' => ['request_id', 'panel']],
Expand Down

0 comments on commit c5403d9

Please sign in to comment.