Skip to content

Commit

Permalink
jsonable use mediumText in stub files now
Browse files Browse the repository at this point in the history
  • Loading branch information
mjauvin committed Jul 5, 2023
1 parent ff06eab commit fcdd327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ return new class extends Migration
$table->{{ config.type }}('{{ field }}'){{ config.required == false ? '->nullable()'}}{{ config.index ? '->index()' }};
{% endfor %}
{% for field in jsonable %}
$table->text('{{ field }}')->nullable();
$table->mediumText('{{ field }}')->nullable();
{% endfor %}
{% for field in morphable %}
$table->nullableMorphs('{{ field }}', 'morphable_index');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ return new class extends Migration
$table->{{ config.type }}('{{ field }}'){{ config.required == false ? '->nullable()'}}{{ config.index ? '->index()' }};
{% endfor %}
{% for field in jsonable %}
$table->text('{{ field }}')->nullable();
$table->mediumText('{{ field }}')->nullable();
{% endfor %}
{% for field in morphable %}
$table->nullableMorphs('{{ field }}', 'morphable_index');
Expand Down

0 comments on commit fcdd327

Please sign in to comment.