Skip to content
Snippets Groups Projects
Commit 1e5c302c authored by Richard Githuba's avatar Richard Githuba
Browse files

added the images in the posts so the posts look good and removed redundant uploads file

parent 225509dd
No related branches found
No related tags found
No related merge requests found
...@@ -84,9 +84,9 @@ VALUES (1, 1); ...@@ -84,9 +84,9 @@ VALUES (1, 1);
-- Insert posts -- Insert posts
INSERT INTO feed (post_image_url, post_title, post_description, post_time, user_id) VALUES INSERT INTO feed (post_image_url, post_title, post_description, post_time, user_id) VALUES
('https://example.com/image1.jpg', 'Post 1', 'Description for post 1', '2024-12-07', 1), ('uploads/36b2c38d-c9d5-4e14-a433-895a565d3abf_steve-johnson-D7AuHpLxLPA-unsplash.jpg', 'Post 1', 'Description for post 1', '2024-12-07', 1),
('https://example.com/image2.jpg', 'Post 2', 'Description for post 2', '2024-12-07', 2), ('uploads/5720f047-a3ca-4d4e-ab20-343aae7cc485_premium_photo-1733514691627-e62171fc052c.avif', 'Post 2', 'Description for post 2', '2024-12-07', 2),
('https://example.com/image3.jpg', 'Post 3', 'Description for post 3', '2024-12-07', 3); ('uploads/d0753820-30b3-429c-92c4-d82c910ba083_nicolas-jehly-0UU9-_1EMvM-unsplash.jpg', 'Post 3', 'Description for post 3', '2024-12-07', 3);
-- Insert tags -- Insert tags
INSERT INTO tags (tag_name) VALUES INSERT INTO tags (tag_name) VALUES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment