Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when migrating models with inherited fields #23

Open
MaiteRosalie opened this issue Sep 3, 2024 · 1 comment
Open

Error when migrating models with inherited fields #23

MaiteRosalie opened this issue Sep 3, 2024 · 1 comment

Comments

@MaiteRosalie
Copy link

  • Django Db Comments version: 0.4.1
  • Django version: 5.0.8
  • Python version: 3.10.14
  • Operating System: macOS

Description

I get an error when migrating inherited fields.

What I Did

command manage.py migrate
output

Operations to perform:
  Apply all migrations: activity...
Running migrations:
  No migrations to apply.
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 105, in _execute
    return self.cursor.execute(sql, params)
psycopg2.errors.UndefinedColumn: column "description" of relation "documentation_term" does not exist
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@MaiteRosalie and others