Skip to content

Commit

Permalink
Merge pull request #45 from Cyber-Duck/feature/indexed-fields-as-varc…
Browse files Browse the repository at this point in the history
…hars

Changed indexed fields to varchar (from text)
  • Loading branch information
samthejarvis authored May 10, 2022
2 parents a7bf431 + 4abc9ab commit e11c9b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Model/Extension/SeoExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class SeoExtension extends SeoPageExtension
* @config array $db
**/
private static $db = [
'Title' => 'Text',
'URLSegment' => 'Text',
'Title' => 'Varchar(512)',
'URLSegment' => 'Varchar(512)',
'MetaDescription' => 'Text'
];

Expand Down
2 changes: 1 addition & 1 deletion src/Model/SeoHeadTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SeoHeadTag extends DataObject
* @config array $db
**/
private static $db = [
'Title' => 'Text',
'Title' => 'Varchar(512)',
'Value' => 'Text',
'Type' => 'Text'
];
Expand Down

0 comments on commit e11c9b5

Please sign in to comment.