Skip to content

Commit 91dc881

Browse files
committed
Reduce title max length to 150
1 parent 526de72 commit 91dc881

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Entity/Tile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static function getStructure(Structure $structure)
1818
],
1919
'title' => [
2020
'type' => self::STR,
21-
'maxLength' => 200,
21+
'maxLength' => 150,
2222
'required' => 'please_enter_valid_title'
2323
],
2424
'category' => [

Setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function installStep1()
1919
$this->schemaManager()->createTable('xf_if_gs_tiles', function (Create $table)
2020
{
2121
$table->addColumn('tile_id', 'int')->autoIncrement();
22-
$table->addColumn('title', 'varchar', 200);
22+
$table->addColumn('title', 'varchar', 150);
2323
$table->addColumn('category', 'varchar', 25)->setDefault('');
2424
$table->addColumn('link', 'varchar', 200);
2525
$table->addColumn('image_url', 'varchar', 200);

0 commit comments

Comments
 (0)