Skip to content

Commit

Permalink
fixxing adhoc size_type error
Browse files Browse the repository at this point in the history
  • Loading branch information
butburg committed Aug 20, 2024
1 parent 94d3a65 commit 589523e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function up(): void
// Stores the path to the image variant file on the server.
$table->string('path');
// Represents the maximum dimension (either width or height, whichever is larger) of the image variant.
$table->integer('size_type'); // e.g. max-allowed, desktop, mobile
$table->string('size_type', 3); // e.g. max-allowed, desktop, mobile
// Stores the quality of the image variant (e.g., for JPEG compression).
$table->integer('quality');
// Stores the width of the image variant. Nullable because not all image variants may have an explicit width.
Expand Down

0 comments on commit 589523e

Please sign in to comment.