Skip to content

how to migrate from latest stable 2.0.1 to 2.1-dev #8

@telsch

Description

@telsch

Upgrading only describes how to upgrade from 1.5.x to 2.x

In example docker-compose.yml database also changed from sqlite3 to postgres. If i manually backup from 2.0.1 sqlite3
python manage.py dumpdata --exclude=contenttypes > backup.json

and then try to restore in 2.1-dev with postgres
python manage.py loaddata backup.json

i got this error
Traceback (most recent call last): File "/venv/lib/python3.9/site-packages/django/db/models/options.py", line 608, in get_field return self.fields_map[field_name] KeyError: 'file_name'

Which database migrations needs to be applied before to be able to update?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions