Skip to content

Commit

Permalink
Update init_db.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pdr21001 authored Apr 23, 2025
1 parent bfa39c4 commit ef20f8e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions backend/init_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ def populate_initial_data(conn):
cursor = conn.cursor()

animals = [
('Luna', 'Dog', 'Labrador Mix', 2, 'Playful and energetic', '/images/luna.jpg', 'Available'),
('Oliver', 'Cat', 'Tabby', 4, 'Independent but affectionate', '/images/oliver.jpg', 'Available'),
('Max', 'Dog', 'German Shepherd', 3, 'Loyal and intelligent', '/images/max.jpg', 'Available')
('Luna', 'Dog', 'Labrador Mix', 2,
'Playful and energetic', '/images/luna.jpg',
'Available'),
('Oliver', 'Cat', 'Tabby', 4,
'Independent but affectionate', '/images/oliver.jpg',
'Available'),
('Max', 'Dog', 'German Shepherd', 3,
'Loyal and intelligent', '/images/max.jpg',
'Available')
]

for animal in animals:
Expand Down

0 comments on commit ef20f8e

Please sign in to comment.