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 while creating database dump (with quick and dirty solution) #831

Open
snake-soft opened this issue Sep 21, 2020 · 0 comments
Open

Comments

@snake-soft
Copy link
Contributor

While i create a new shop and trying to create a dump with...

python manage.py dumpdata --traceback > db_dump1.json

i get this error and some following errors:

psycopg2.errors.UndefinedTable: FEHLER:  Relation »cmsplugin_cascade_segmentation« existiert nicht
(psycopg2.errors.UndefinedTable: ERROR:  Relation »cmsplugin_cascade_segmentation« does not exist)

It seems that something changed with https://github.com/jrief/djangocms-cascade but i couldn't find exact cause of the error.


Solution:
I created the table "cmsplugin_cascade_segmentation" with just one field "id" (PK not Null) and then it worked for me in both directions - from development (sqlite) to productive (postgres) server and vice versa.

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

1 participant