Skip to content

Commit

Permalink
Fix area17#41 – Use text columns for medias and files uuid, alt_text,…
Browse files Browse the repository at this point in the history
… caption and filename

Also make alt_text nullable
  • Loading branch information
ifox committed Mar 5, 2020
1 parent de60c54 commit 96cdebd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}
Expand Down

0 comments on commit 96cdebd

Please sign in to comment.