publication name length fix
parent
0a057d67c5
commit
6fdca191e0
|
|
@ -39,7 +39,7 @@ class PublicationNewsForms extends FormsService {
|
||||||
'title' => 'Название',
|
'title' => 'Название',
|
||||||
'type' => FieldType::STRING,
|
'type' => FieldType::STRING,
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'max_length' => 127,
|
'max_length' => 750,
|
||||||
'value' => $model->name ?? null
|
'value' => $model->name ?? null
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ class PublicationPhotosForms
|
||||||
'title' => 'Название',
|
'title' => 'Название',
|
||||||
'type' => FieldType::STRING,
|
'type' => FieldType::STRING,
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'max_length' => 127,
|
'max_length' => 750,
|
||||||
'value' => $model->name ?? null
|
'value' => $model->name ?? null
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ class PublicationPortfolioForms
|
||||||
'title' => 'Название компании',
|
'title' => 'Название компании',
|
||||||
'type' => FieldType::STRING,
|
'type' => FieldType::STRING,
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'max_length' => 127,
|
'max_length' => 750,
|
||||||
'value' => $model->name ?? null
|
'value' => $model->name ?? null
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ class PublicationSmiForms
|
||||||
'title' => 'Название',
|
'title' => 'Название',
|
||||||
'type' => FieldType::STRING,
|
'type' => FieldType::STRING,
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'max_length' => 127,
|
'max_length' => 750,
|
||||||
'value' => $model->name ?? null
|
'value' => $model->name ?? null
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ class CreatePublicationsTable extends Migration
|
||||||
$table->integer('author_id')->index()->nullable();
|
$table->integer('author_id')->index()->nullable();
|
||||||
$table->string('slug')->index()->nullable();
|
$table->string('slug')->index()->nullable();
|
||||||
$table->string('type')->index()->nullable();
|
$table->string('type')->index()->nullable();
|
||||||
$table->string('name')->index()->nullable();
|
$table->string('name', 750)->index()->nullable();
|
||||||
$table->text('excerpt')->nullable();
|
$table->text('excerpt')->nullable();
|
||||||
$table->text('params')->nullable();
|
$table->text('params')->nullable();
|
||||||
$table->boolean('is_published')->index()->default(0);
|
$table->boolean('is_published')->index()->default(0);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue