You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I apologize in advance if I'm doing something silly but I can't seem to run (or find) the migrations for this app.
Running makemigrate and migrate only installs migrations for the admin, auth, contenttypes, sessions packages but none related to the detect_spines app. All of the api calls fail because the database tables don't exist.
Internal Server Error: /api/create-bookshelf/
Traceback (most recent call last):
File "/Users/natitessema/workspace/Bookshelf-Reader-API-master/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "/Users/natitessema/workspace/Bookshelf-Reader-API-master/venv/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 477, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: detect_spines_bookshelf
Is there a missing migrations/ directory for the detect_spines app or am I doing something wrong? Thanks in advance and thanks for making this project @LakshyaKhatri 🙂
The text was updated successfully, but these errors were encountered:
Thanks mate! 😄
I think you are right. It's been a long time since I worked on this project, just checked the code and I couldn't find any migrations either. Did you find a fix though? From what I see, we need to write migrations manually 🤦🏽♂️
I would love a solution to be proposed ❤️
Hi, I apologize in advance if I'm doing something silly but I can't seem to run (or find) the migrations for this app.
Running
makemigrate
andmigrate
only installs migrations for theadmin, auth, contenttypes, sessions
packages but none related to thedetect_spines
app. All of the api calls fail because the database tables don't exist.Is there a missing
migrations/
directory for thedetect_spines
app or am I doing something wrong? Thanks in advance and thanks for making this project @LakshyaKhatri 🙂The text was updated successfully, but these errors were encountered: