diff --git a/config/ide-helper.php b/config/ide-helper.php index 85be765a3..e2ad60a9a 100644 --- a/config/ide-helper.php +++ b/config/ide-helper.php @@ -236,7 +236,7 @@ |-------------------------------------------------------------------------- | Some databases, like Oracle return the column names in upper case | - | For example, normally you would see this: + | For example, with Oracle normally you would see this: | | * @property \Illuminate\Support\Carbon $CREATED_AT | * @property \Illuminate\Support\Carbon $UPDATED_AT diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index 40e7b87da..6138b0d77 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -481,7 +481,7 @@ public function getPropertiesFromTable($model) foreach ($columns as $column) { $name = $column->getName(); - if ($this->hasLowerCaseProperties()) { + if ($this->hasLowerCaseModelProperties()) { $name = Str::lower($name); } @@ -1051,6 +1051,14 @@ protected function getRelationTypes(): array return array_merge(self::RELATION_TYPES, $configuredRelations); } + /** + * @return bool + */ + protected function hasLowerCaseModelProperties() + { + return $this->laravel['config']->get('ide-helper.model_lower_case_properties', false); + } + /** * @return bool */ diff --git a/tests/Console/ModelsCommand/GenerateBasicPhpdocLower/Models/Post.php b/tests/Console/ModelsCommand/GenerateBasicPhpdocLower/Models/Upper.php similarity index 70% rename from tests/Console/ModelsCommand/GenerateBasicPhpdocLower/Models/Post.php rename to tests/Console/ModelsCommand/GenerateBasicPhpdocLower/Models/Upper.php index f70f34368..1d859eba0 100644 --- a/tests/Console/ModelsCommand/GenerateBasicPhpdocLower/Models/Post.php +++ b/tests/Console/ModelsCommand/GenerateBasicPhpdocLower/Models/Upper.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpdocCamel\Models; +namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpdocLower\Models; use Illuminate\Database\Eloquent\Model; -class Post extends Model +class Upper extends Model { } diff --git a/tests/Console/ModelsCommand/GenerateBasicPhpdocLower/__snapshots__/Test__test__1.php b/tests/Console/ModelsCommand/GenerateBasicPhpdocLower/__snapshots__/Test__test__1.php index b42479c7c..3ecc05f04 100644 --- a/tests/Console/ModelsCommand/GenerateBasicPhpdocLower/__snapshots__/Test__test__1.php +++ b/tests/Console/ModelsCommand/GenerateBasicPhpdocLower/__snapshots__/Test__test__1.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpdocCamel\Models; +namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpdocLower\Models; use Illuminate\Database\Eloquent\Model; /** - * Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpdocCamel\Models\Post + * Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\GenerateBasicPhpdocLower\Models\Upper * * @property integer $id * @property string|null $char_nullable @@ -82,84 +82,84 @@ * @property string $macaddress_not_nullable * @property \Illuminate\Support\Carbon|null $created_at * @property \Illuminate\Support\Carbon|null $updated_at - * @method static \Illuminate\Database\Eloquent\Builder|Post newModelQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post newQuery() - * @method static \Illuminate\Database\Eloquent\Builder|Post query() - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBinaryNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereBooleanNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCharNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereCreatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDateNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDatetimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereDoubleNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereEnumNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereFloatNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereId($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereIpaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereJsonbNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereLongTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMacaddressNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereMediumTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereStringNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTextNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimeNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestampNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimestamptzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTimetzNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedBigIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedDecimalNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedDecimalNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedMediumIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedSmallIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUnsignedTinyIntegerNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUpdatedAt($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereUuidNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNotNullable($value) - * @method static \Illuminate\Database\Eloquent\Builder|Post whereYearNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Upper newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Upper query() + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereBinaryNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereBinaryNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereBooleanNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereBooleanNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereCharNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereCharNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDateNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDateNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDatetimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDatetimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDatetimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDatetimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDoubleNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereDoubleNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereEnumNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereEnumNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereFloatNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereFloatNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereIpaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereIpaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereJsonNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereJsonNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereJsonbNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereJsonbNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereLongTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereLongTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereMacaddressNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereMacaddressNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereMediumTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereMediumTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereStringNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereStringNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTextNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTextNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTimeNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTimeNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTimestampNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTimestampNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTimestamptzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTimestamptzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTimetzNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTimetzNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedBigIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedBigIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedDecimalNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedDecimalNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedMediumIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedMediumIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedSmallIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedSmallIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedTinyIntegerNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUnsignedTinyIntegerNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUuidNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereUuidNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereYearNotNullable($value) + * @method static \Illuminate\Database\Eloquent\Builder|Upper whereYearNullable($value) * @mixin \Eloquent */ -class Post extends Model +class Upper extends Model { } diff --git a/tests/Console/ModelsCommand/migrations/____upper_table.php b/tests/Console/ModelsCommand/migrations/____upper_table.php new file mode 100644 index 000000000..b8c6e98eb --- /dev/null +++ b/tests/Console/ModelsCommand/migrations/____upper_table.php @@ -0,0 +1,126 @@ +bigIncrements('ID'); + + $table->char('CHAR_NULLABLE')->nullable(); + $table->char('CHAR_NOT_NULLABLE'); + + $table->string('STRING_NULLABLE')->nullable(); + $table->string('STRING_NOT_NULLABLE'); + + $table->text('TEXT_NULLABLE')->nullable(); + $table->text('TEXT_NOT_NULLABLE'); + + $table->mediumText('MEDIUM_TEXT_NULLABLE')->nullable(); + $table->mediumText('MEDIUM_TEXT_NOT_NULLABLE'); + + $table->longText('LONG_TEXT_NULLABLE')->nullable(); + $table->longText('LONG_TEXT_NOT_NULLABLE'); + + $table->integer('INTEGER_NULLABLE')->nullable(); + $table->integer('INTEGER_NOT_NULLABLE'); + + $table->tinyInteger('TINY_INTEGER_NULLABLE')->nullable(); + $table->tinyInteger('TINY_INTEGER_NOT_NULLABLE'); + + $table->smallInteger('SMALL_INTEGER_NULLABLE')->nullable(); + $table->smallInteger('SMALL_INTEGER_NOT_NULLABLE'); + + $table->mediumInteger('MEDIUM_INTEGER_NULLABLE')->nullable(); + $table->mediumInteger('MEDIUM_INTEGER_NOT_NULLABLE'); + + $table->bigInteger('BIG_INTEGER_NULLABLE')->nullable(); + $table->bigInteger('BIG_INTEGER_NOT_NULLABLE'); + + $table->unsignedInteger('UNSIGNED_INTEGER_NULLABLE')->nullable(); + $table->unsignedInteger('UNSIGNED_INTEGER_NOT_NULLABLE'); + + $table->unsignedTinyInteger('UNSIGNED_TINY_INTEGER_NULLABLE')->nullable(); + $table->unsignedTinyInteger('UNSIGNED_TINY_INTEGER_NOT_NULLABLE'); + + $table->unsignedSmallInteger('UNSIGNED_SMALL_INTEGER_NULLABLE')->nullable(); + $table->unsignedSmallInteger('UNSIGNED_SMALL_INTEGER_NOT_NULLABLE'); + + $table->unsignedMediumInteger('UNSIGNED_MEDIUM_INTEGER_NULLABLE')->nullable(); + $table->unsignedMediumInteger('UNSIGNED_MEDIUM_INTEGER_NOT_NULLABLE'); + + $table->unsignedBigInteger('UNSIGNED_BIG_INTEGER_NULLABLE')->nullable(); + $table->unsignedBigInteger('UNSIGNED_BIG_INTEGER_NOT_NULLABLE'); + + $table->float('FLOAT_NULLABLE')->nullable(); + $table->float('FLOAT_NOT_NULLABLE'); + + $table->double('DOUBLE_NULLABLE')->nullable(); + $table->double('DOUBLE_NOT_NULLABLE'); + + $table->decimal('DECIMAL_NULLABLE')->nullable(); + $table->decimal('DECIMAL_NOT_NULLABLE'); + + $table->unsignedDecimal('UNSIGNED_DECIMAL_NULLABLE')->nullable(); + $table->unsignedDecimal('UNSIGNED_DECIMAL_NOT_NULLABLE'); + + $table->boolean('BOOLEAN_NULLABLE')->nullable(); + $table->boolean('BOOLEAN_NOT_NULLABLE'); + + $table->enum('ENUM_NULLABLE', ['foo', 'bar'])->nullable(); + $table->enum('ENUM_NOT_NULLABLE', ['foo', 'bar']); + + $table->json('JSON_NULLABLE')->nullable(); + $table->json('JSON_NOT_NULLABLE'); + + $table->jsonb('JSONB_NULLABLE')->nullable(); + $table->jsonb('JSONB_NOT_NULLABLE'); + + $table->date('DATE_NULLABLE')->nullable(); + $table->date('DATE_NOT_NULLABLE'); + + $table->dateTime('DATETIME_NULLABLE')->nullable(); + $table->dateTime('DATETIME_NOT_NULLABLE'); + + $table->dateTimeTz('DATETIMETZ_NULLABLE')->nullable(); + $table->dateTimeTz('DATETIMETZ_NOT_NULLABLE'); + + $table->time('TIME_NULLABLE')->nullable(); + $table->time('TIME_NOT_NULLABLE'); + + $table->timeTz('TIMETZ_NULLABLE')->nullable(); + $table->timeTz('TIMETZ_NOT_NULLABLE'); + + $table->timestamp('TIMESTAMP_NULLABLE')->nullable(); + $table->timestamp('TIMESTAMP_NOT_NULLABLE'); + + $table->timestampTz('TIMESTAMPTZ_NULLABLE')->nullable(); + $table->timestampTz('TIMESTAMPTZ_NOT_NULLABLE'); + + $table->year('YEAR_NULLABLE')->nullable(); + $table->year('YEAR_NOT_NULLABLE'); + + $table->binary('BINARY_NULLABLE')->nullable(); + $table->binary('BINARY_NOT_NULLABLE'); + + $table->uuid('UUID_NULLABLE')->nullable(); + $table->uuid('UUID_NOT_NULLABLE'); + + $table->ipAddress('IPADDRESS_NULLABLE')->nullable(); + $table->ipAddress('IPADDRESS_NOT_NULLABLE'); + + $table->macAddress('MACADDRESS_NULLABLE')->nullable(); + $table->macAddress('MACADDRESS_NOT_NULLABLE'); + + // $table->timestamps(); + $table->dateTime('CREATED_AT')->nullable(); + $table->dateTime('UPDATED_AT')->nullable(); + }); + } +}