Basic Usage
Add a String Column to Your Table
Add a string column to your table. Here's an example of how to do it in a migration file:
Add a Disk to config/filesystems.php
In your config/filesystems.php
file, add a disk configuration for media as follows:
config/filesystems.php
Add NovaVideo Field to Your Resource
Here's an example of how to do it:
The second argument of the make function is your file column's name.
The third argument of the make function is your preferred disk name.
Enjoy
Last updated