publication name length fix

master
Константин 2023-09-05 11:08:45 +03:00
parent 0a057d67c5
commit 6fdca191e0
5 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ class PublicationNewsForms extends FormsService {
'title' => 'Название',
'type' => FieldType::STRING,
'required' => true,
'max_length' => 127,
'max_length' => 750,
'value' => $model->name ?? null
],
[

View File

@ -50,7 +50,7 @@ class PublicationPhotosForms
'title' => 'Название',
'type' => FieldType::STRING,
'required' => true,
'max_length' => 127,
'max_length' => 750,
'value' => $model->name ?? null
],
[

View File

@ -36,7 +36,7 @@ class PublicationPortfolioForms
'title' => 'Название компании',
'type' => FieldType::STRING,
'required' => true,
'max_length' => 127,
'max_length' => 750,
'value' => $model->name ?? null
],
[

View File

@ -43,7 +43,7 @@ class PublicationSmiForms
'title' => 'Название',
'type' => FieldType::STRING,
'required' => true,
'max_length' => 127,
'max_length' => 750,
'value' => $model->name ?? null
],
[

View File

@ -21,7 +21,7 @@ class CreatePublicationsTable extends Migration
$table->integer('author_id')->index()->nullable();
$table->string('slug')->index()->nullable();
$table->string('type')->index()->nullable();
$table->string('name')->index()->nullable();
$table->string('name', 750)->index()->nullable();
$table->text('excerpt')->nullable();
$table->text('params')->nullable();
$table->boolean('is_published')->index()->default(0);