denshoproject / namesdb-editor

Other
0 stars 0 forks source link

Separate databases for Names data and Django tables #3

Closed gjost closed 3 years ago

gjost commented 3 years ago

Set up multiple databases in commit c30dfc2.

Doesn't quite work out of the box though. I ran the database creation commands

python src/manage.py migrate --database=names
python src/manage.py migrate --database=default

The default database has only the Django tables, as it should, but the names database also has them. I dropped the Django tables from the names database and ran some import scripts and it looks like things happened they way they are supposed to.