We want to have some images in our database for each garden, in order to do that we will need to seed it with some images.
[x] Create seed file to 'seed' the gallery database
[x] Create a directory called 'seed-images' inside the database directory - and add 3 png images of gardens into it
[x] Write a function inside the seed file which takes an image file name as a parameter and uses the file path to find the images in the 'seed-images' directory and then converts the image into base64.
[x] Set up the seeds in the seed file so each garden uses the same 3 images
[ ] id: increments
[ ] name: name-of-image
[ ] mimetype: image/png
[ ] image: call the above function in the 'image' column using the image name you wish to use as the argument
[ ] garden_id: garden id
[x] Run the seeds
[x] Manually test/check to make sure the database has been seeded (no need to write automated tests)
We want to have some images in our database for each garden, in order to do that we will need to seed it with some images.