diff --git a/migrations/default/2020_02_09_000003_create_twill_default_medias_tables.php b/migrations/default/2020_02_09_000003_create_twill_default_medias_tables.php index 69792ea11..4670d2279 100644 --- a/migrations/default/2020_02_09_000003_create_twill_default_medias_tables.php +++ b/migrations/default/2020_02_09_000003_create_twill_default_medias_tables.php @@ -21,12 +21,12 @@ public function up() $table->{twillIncrementsMethod()}('id'); $table->timestamps(); $table->softDeletes(); - $table->string('uuid'); - $table->string('alt_text'); + $table->text('uuid'); + $table->text('alt_text')->nullable(); $table->integer('width')->unsigned(); $table->integer('height')->unsigned(); - $table->string('caption')->nullable(); - $table->string('filename')->nullable(); + $table->text('caption')->nullable(); + $table->text('filename')->nullable(); }); } diff --git a/migrations/default/2020_02_09_000004_create_twill_default_files_tables.php b/migrations/default/2020_02_09_000004_create_twill_default_files_tables.php index 5ecb593a4..009c4670b 100644 --- a/migrations/default/2020_02_09_000004_create_twill_default_files_tables.php +++ b/migrations/default/2020_02_09_000004_create_twill_default_files_tables.php @@ -21,8 +21,8 @@ public function up() $table->{twillIncrementsMethod()}('id'); $table->timestamps(); $table->softDeletes(); - $table->string('uuid'); - $table->string('filename')->nullable(); + $table->text('uuid'); + $table->text('filename')->nullable(); $table->integer('size')->unsigned(); }); }