Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 300 Bytes

UPGRADING.md

File metadata and controls

16 lines (10 loc) · 300 Bytes

Upgrading

1.x to 2.x

You need to add an order column to the mediables table.

$table->integer('order')->unsigned()->index();

A handful of methods have been renamed on the MediaUploader class.

setFilename -> useFilename setDisk -> toDisk setDirectory -> toDirectory