Closed samip5 closed 2 years ago
The tables that were created are only these:
List of relations
Schema | Name | Type | Owner
--------+----------------------------+-------+-------
public | auth_group | table | ahmia
public | auth_group_permissions | table | ahmia
public | auth_permission | table | ahmia
public | auth_user | table | ahmia
public | auth_user_groups | table | ahmia
public | auth_user_user_permissions | table | ahmia
public | django_admin_log | table | ahmia
public | django_content_type | table | ahmia
public | django_migrations | table | ahmia
public | django_session | table | ahmia
public | django_site | table | ahmia
(11 rows)
So I would say that it definitely did not create them properly.
The issue was missing migrations folder in ahmia/ahmia/migrations as it's in .gitignore.
For unknown reason, it seems that the postgres database is not populated with all of the tables when running
python3 ahmia/manage.py migrate