feat(attachment): implement deletion of cropped attachments alongside original and update README
This commit is contained in:
@@ -13,6 +13,7 @@ return new class extends Migration
|
||||
$table->decimal('crop_vertical_start_percent', 7, 4)->nullable()->after('crop_horizontal_start_percent');
|
||||
$table->foreignId('cropped_attachment_id')
|
||||
->nullable()
|
||||
->unique()
|
||||
->after('crop_vertical_start_percent')
|
||||
->constrained('attachments')
|
||||
->nullOnDelete();
|
||||
|
||||
Reference in New Issue
Block a user