A
A
asdasdqwe2021-11-28 14:28:13
Database
asdasdqwe, 2021-11-28 14:28:13

Store files in the database (blob ) or just in the storage folder?

1. Save images from users in the database with the blob data type

2. Save images from users in the storage folder (I use laravel), and store only the url to the image in the database

Which method is better?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ipatiev, 2021-11-28
@asdasdqwe

https://qna.habr.com/q/26867

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question