How to teach Laravel to distinguish between links to S3 and the local?

Since the creation of storing data locally using the local driver of Laravale. Now we need to move to S3, the amount of data to a large stroke to move there. How to learn Laravel, so all new data was loaded on the s3, but the old links of local files did not fight? That is just changing the driver on C3 in the config and all? All links to the files received via Storage::url()
April 3rd 20 at 17:33
1 answer
April 3rd 20 at 17:35
shipping new on S3
When you receive to check if the file in S3, if not, then take local area.
I did that.

Another option is a flag in the database.

Find more questions by tags Data storageLaravel